From: Erik Brakkee Date: Thu, 8 Jul 2010 09:43:31 +0000 (+0000) Subject: (no commit message) X-Git-Tag: wamblee-utils-0.7~349 X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;h=e332019c0f277fc82ef8a117d73c9ffd08a8ca44;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