From abf24e1f31a76ef2590688d0c2bb55f82c7410a9 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Thu, 1 Aug 2024 02:07:41 +0900 Subject: [PATCH] Temporarily disable flaky fairness2 test with sanitizers https://github.com/crossbeam-rs/crossbeam/issues/1094 --- crossbeam-channel/tests/select_macro.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crossbeam-channel/tests/select_macro.rs b/crossbeam-channel/tests/select_macro.rs index 618faf4e1..8fb72773d 100644 --- a/crossbeam-channel/tests/select_macro.rs +++ b/crossbeam-channel/tests/select_macro.rs @@ -858,6 +858,7 @@ fn fairness1() { assert!(hits.iter().all(|x| *x >= COUNT / hits.len() / 2)); } +#[cfg_attr(crossbeam_sanitize, ignore)] // TODO: flaky: https://github.com/crossbeam-rs/crossbeam/issues/1094 #[test] fn fairness2() { #[cfg(miri)]