Skip to content

Commit 7b0212f

Browse files
committed
Improved test
1 parent c774b18 commit 7b0212f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/g1101_1200/s1114_print_in_order/FooTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ void foo() throws InterruptedException {
1515
new Thread(() -> foo.first(() -> fooData[0]++)).start();
1616
new Thread(() -> foo.second(() -> fooData[0]++)).start();
1717
new Thread(() -> foo.third(() -> fooData[0]++)).start();
18-
TimeUnit.MILLISECONDS.sleep(1200);
18+
TimeUnit.MILLISECONDS.sleep(1400);
1919
assertThat(fooData[0], equalTo(3));
2020
}
2121
}

0 commit comments

Comments
 (0)