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
Files
829df031c351dda60302945c39c5e1309075a485
java-design-patterns
/
balking
/
src
History
Narendra Pathai
829df031c3
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
..
main/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
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