Skip to content

Commit 74331e1

Browse files
authored
test(subscriber): remove very flaky tests (#544)
We have identified that some of the `console-subscriber` integration tests are flaky (#473). This appears to be a result of the following issue in `tracing` tokio-rs/tracing#2743. Flaky tests are really worse than no tests. So these tests will be removed until the flakiness can be fixed.
1 parent ff22678 commit 74331e1

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

console-subscriber/tests/wake.rs

-29
Original file line numberDiff line numberDiff line change
@@ -4,35 +4,6 @@ use std::time::Duration;
44
use support::{assert_task, ExpectedTask};
55
use tokio::time::sleep;
66

7-
#[test]
8-
fn sleep_wakes() {
9-
let expected_task = ExpectedTask::default()
10-
.match_default_name()
11-
.expect_wakes(1)
12-
.expect_self_wakes(0);
13-
14-
let future = async {
15-
sleep(Duration::ZERO).await;
16-
};
17-
18-
assert_task(expected_task, future);
19-
}
20-
21-
#[test]
22-
fn double_sleep_wakes() {
23-
let expected_task = ExpectedTask::default()
24-
.match_default_name()
25-
.expect_wakes(2)
26-
.expect_self_wakes(0);
27-
28-
let future = async {
29-
sleep(Duration::ZERO).await;
30-
sleep(Duration::ZERO).await;
31-
};
32-
33-
assert_task(expected_task, future);
34-
}
35-
367
#[test]
378
fn self_wake() {
389
let expected_task = ExpectedTask::default()

0 commit comments

Comments
 (0)