This website requires JavaScript.
Explore
Help
Register
Sign In
tiennm99
/
java-design-patterns
Watch
1
Star
0
Fork
0
You've already forked java-design-patterns
mirror of
https://github.com/tiennm99/java-design-patterns.git
synced
2026-05-14 12:58:37 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
fcc1c0a27cbf92f07d4a2d9164598c883da74416
java-design-patterns
/
balking
/
src
T
History
Ilkka Seppälä
150f72758e
Add missing license headers
2018-11-03 09:13:59 +02:00
..
main/java/com/iluwatar
/balking
Add missing license headers
2018-11-03 09:13:59 +02:00
test/java/com/iluwatar
/balking
Intermittent failure was due to Thread.sleep in the code. While performing unit test cases there was race condition between two threads, so it was not guaranteed to work every time. Used an interface DelayProvider for simulating delay, and while unit testing fake delay provider is used that eradicates the use of Threads in unit test cases, which is not a good practice.
2018-10-15 16:36:27 +05:30