git://wamblee.org
/
utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(no commit message)
[utils]
/
support
/
general
/
src
/
test
/
java
/
org
/
wamblee
/
concurrency
/
AbstractLockTestCase.java
diff --git
a/support/general/src/test/java/org/wamblee/concurrency/AbstractLockTestCase.java
b/support/general/src/test/java/org/wamblee/concurrency/AbstractLockTestCase.java
index a4143c0b9748739321b8999d421becf68546f505..b6e5b5bfe96907390011690a7f69f9e817389010 100644
(file)
--- a/
support/general/src/test/java/org/wamblee/concurrency/AbstractLockTestCase.java
+++ b/
support/general/src/test/java/org/wamblee/concurrency/AbstractLockTestCase.java
@@
-61,7
+61,7
@@
public abstract class AbstractLockTestCase extends TestCase {
public void testLock() throws InterruptedException {
Thread t1 = runThread();
Thread t2 = runThread();
public void testLock() throws InterruptedException {
Thread t1 = runThread();
Thread t2 = runThread();
- TimingUtils.sleep(SLEEP_TIME
/ 10
); // give threads a chance to start
+ TimingUtils.sleep(SLEEP_TIME
/2
); // give threads a chance to start
// up.
assertEquals(2, tracker.getEventCount(STARTED)); // both threads
// up.
assertEquals(2, tracker.getEventCount(STARTED)); // both threads