Skip to content

Commit

Permalink
Improved task 1114
Browse files Browse the repository at this point in the history
  • Loading branch information
javadev authored Mar 30, 2024
1 parent 3886de9 commit 29fca90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/kotlin/g1101_1200/s1114_print_in_order/FooTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ internal class FooTest {
Thread { foo.first { fooData[0]++ } }.start()
Thread { foo.second { fooData[0]++ } }.start()
Thread { foo.third { fooData[0]++ } }.start()
TimeUnit.MILLISECONDS.sleep(1000)
TimeUnit.MILLISECONDS.sleep(2000)
assertThat(fooData[0], equalTo(3))
}
}

0 comments on commit 29fca90

Please sign in to comment.