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.
1 parent c774b18 commit 7b0212fCopy full SHA for 7b0212f
src/test/java/g1101_1200/s1114_print_in_order/FooTest.java
@@ -15,7 +15,7 @@ void foo() throws InterruptedException {
15
new Thread(() -> foo.first(() -> fooData[0]++)).start();
16
new Thread(() -> foo.second(() -> fooData[0]++)).start();
17
new Thread(() -> foo.third(() -> fooData[0]++)).start();
18
- TimeUnit.MILLISECONDS.sleep(1200);
+ TimeUnit.MILLISECONDS.sleep(1400);
19
assertThat(fooData[0], equalTo(3));
20
}
21
0 commit comments