Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@eincs
Copy link
Contributor

@eincs eincs commented Apr 25, 2014

Currently testConcurrentRandomIncrement was using Thread.sleep for waiting all job done. But some times, It can take more than 10 second to complete all jobs. By using CountDownLatch, it can be ensure that all the jobs done in test.

@eincs eincs changed the title Fix arbitrary test failure because of insufficient sleep time. Fix arbitrary test failure because of insufficient sleep time Apr 25, 2014
@0mok
Copy link
Contributor

0mok commented Apr 25, 2014

LGTM

eincs added a commit that referenced this pull request Apr 26, 2014
Fix arbitrary test failure because of insufficient sleep time
@eincs eincs merged commit 5c4539f into VCNC:master Apr 26, 2014
@eincs eincs deleted the fix-insufficent-sleep branch April 29, 2014 14:09
@eincs eincs added this to the v1.0.3 milestone May 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants