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 |
|
} |
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 |
|
} |
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 |
|
} |