1 |
|
/* |
2 |
|
* Written by Doug Lea with assistance from members of JCP JSR-166 |
3 |
|
* Expert Group and released to the public domain, as explained at |
4 |
< |
* http://creativecommons.org/licenses/publicdomain |
4 |
> |
* http://creativecommons.org/publicdomain/zero/1.0/ |
5 |
|
*/ |
6 |
|
|
7 |
|
import junit.framework.*; |
262 |
|
p.invoke(new FibTask(20)); |
263 |
|
assertSame(ForkJoinPool.defaultForkJoinWorkerThreadFactory, |
264 |
|
p.getFactory()); |
265 |
< |
Thread.sleep(SMALL_DELAY_MS); |
265 |
> |
delay(SMALL_DELAY_MS); |
266 |
|
assertTrue(p.isQuiescent()); |
267 |
|
assertFalse(p.getAsyncMode()); |
268 |
|
assertEquals(0, p.getActiveThreadCount()); |