We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
oneshot::recv_timeout_before_send
1 parent db3e99b commit 6970849Copy full SHA for 6970849
1 file changed
library/std/tests/sync/oneshot.rs
@@ -127,6 +127,7 @@ fn recv_before_send() {
127
}
128
129
#[test]
130
+#[ignore = "Inherently flaky and has caused several CI failures"]
131
fn recv_timeout_before_send() {
132
let (sender, receiver) = oneshot::channel();
133
@@ -135,6 +136,8 @@ fn recv_timeout_before_send() {
135
136
sender.send(99u128).unwrap();
137
});
138
139
+ // FIXME(#152145): Under load, there's no guarantee that thread `t` has
140
+ // ever been scheduled and run before this timeout expires.
141
match receiver.recv_timeout(Duration::from_secs(1)) {
142
Ok(99) => {}
143
_ => panic!("expected Ok(99)"),
0 commit comments