From: erik Date: Thu, 8 Jul 2010 09:43:31 +0000 (+0000) Subject: (no commit message) X-Git-Tag: wamblee-utils-0.3~99 X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;h=ebedcfa5781d514b91d6f505d2536d567255ec69;p=utils --- 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 a4143c0b..684678f8 100644 --- 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(); - TimingUtils.sleep(SLEEP_TIME / 10); // give threads a chance to start + TimingUtils.sleep(SLEEP_TIME); // give threads a chance to start // up. assertEquals(2, tracker.getEventCount(STARTED)); // both threads