This website requires JavaScript.
Explore
Help
Sign In
gaspersic
/
java-design-patterns
Watch
1
Star
0
Fork
0
You've already forked java-design-patterns
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
java-design-patterns
/
balking
/
src
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