1
0
forked from ROMEO/nexosim

Disable Loom tests for broadcaster due to Loom bug

This commit is contained in:
Serge Barral 2024-08-07 10:29:13 +02:00
parent b544bcee92
commit c4d93f5c31

View File

@ -770,6 +770,14 @@ mod tests {
) )
} }
// This tests fails with "Concurrent load and mut accesses" even though the
// `task_list` implementation which triggers it does not use any unsafe.
// This is most certainly related to this Loom bug:
//
// https://github.com/tokio-rs/loom/issues/260
//
// Disabling until the bug is fixed.
#[ignore]
#[test] #[test]
fn loom_broadcast_basic() { fn loom_broadcast_basic() {
const DEFAULT_PREEMPTION_BOUND: usize = 3; const DEFAULT_PREEMPTION_BOUND: usize = 3;
@ -843,6 +851,14 @@ mod tests {
}); });
} }
// This tests fails with "Concurrent load and mut accesses" even though the
// `task_list` implementation which triggers it does not use any unsafe.
// This is most certainly related to this Loom bug:
//
// https://github.com/tokio-rs/loom/issues/260
//
// Disabling until the bug is fixed.
#[ignore]
#[test] #[test]
fn loom_broadcast_spurious() { fn loom_broadcast_spurious() {
const DEFAULT_PREEMPTION_BOUND: usize = 3; const DEFAULT_PREEMPTION_BOUND: usize = 3;