ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/ScheduledExecutorTest.java
(Generate patch)

Comparing jsr166/src/test/tck/ScheduledExecutorTest.java (file contents):
Revision 1.2 by dl, Sun Sep 7 23:50:09 2003 UTC vs.
Revision 1.3 by dl, Mon Sep 8 12:12:42 2003 UTC

# Line 312 | Line 312 | public class ScheduledExecutorTest exten
312              assertEquals(0, two.getCompletedTaskCount());
313              two.execute(newRunnable());
314              try{
315 <                Thread.sleep(MEDIUM_DELAY_MS);
315 >                Thread.sleep(MEDIUM_DELAY_MS/2);
316              } catch(Exception e){
317                  fail("unexpected exception");
318              }
# Line 344 | Line 344 | public class ScheduledExecutorTest exten
344              two.execute(newRunnable());
345              two.execute(newRunnable());
346              try{
347 <                Thread.sleep(SHORT_DELAY_MS);
347 >                Thread.sleep(SHORT_DELAY_MS/2);
348              } catch(Exception e){
349                  fail("unexpected exception");
350              }
# Line 378 | Line 378 | public class ScheduledExecutorTest exten
378              for(int i = 0; i < 5; i++)
379                  one.execute(newRunnable());
380              try{
381 <                Thread.sleep(SHORT_DELAY_MS);
381 >                Thread.sleep(SHORT_DELAY_MS/2);
382              } catch(Exception e){
383                  fail("unexpected exception");
384              }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines