--- jsr166/src/test/tck/ScheduledExecutorTest.java 2003/09/07 23:50:09 1.2 +++ jsr166/src/test/tck/ScheduledExecutorTest.java 2003/09/08 12:12:42 1.3 @@ -312,7 +312,7 @@ public class ScheduledExecutorTest exten assertEquals(0, two.getCompletedTaskCount()); two.execute(newRunnable()); try{ - Thread.sleep(MEDIUM_DELAY_MS); + Thread.sleep(MEDIUM_DELAY_MS/2); } catch(Exception e){ fail("unexpected exception"); } @@ -344,7 +344,7 @@ public class ScheduledExecutorTest exten two.execute(newRunnable()); two.execute(newRunnable()); try{ - Thread.sleep(SHORT_DELAY_MS); + Thread.sleep(SHORT_DELAY_MS/2); } catch(Exception e){ fail("unexpected exception"); } @@ -378,7 +378,7 @@ public class ScheduledExecutorTest exten for(int i = 0; i < 5; i++) one.execute(newRunnable()); try{ - Thread.sleep(SHORT_DELAY_MS); + Thread.sleep(SHORT_DELAY_MS/2); } catch(Exception e){ fail("unexpected exception"); }