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

Comparing jsr166/src/test/tck/FutureTaskTest.java (file contents):
Revision 1.27 by jsr166, Sat Jun 18 14:16:42 2011 UTC vs.
Revision 1.28 by jsr166, Sat Jun 18 14:31:51 2011 UTC

# Line 471 | Line 471 | public class FutureTaskTest extends JSR1
471  
472          threadStarted.await();
473          t.interrupt();
474 <        awaitTermination(t, MEDIUM_DELAY_MS);
474 >        awaitTermination(t);
475          checkNotDone(task);
476      }
477  
# Line 484 | Line 484 | public class FutureTaskTest extends JSR1
484          Thread t = newStartedThread(new CheckedInterruptedRunnable() {
485              public void realRun() throws Exception {
486                  threadStarted.countDown();
487 <                task.get(LONG_DELAY_MS, MILLISECONDS);
487 >                task.get(2*LONG_DELAY_MS, MILLISECONDS);
488              }});
489  
490          threadStarted.await();
491          t.interrupt();
492 <        awaitTermination(t, MEDIUM_DELAY_MS);
492 >        awaitTermination(t);
493          checkNotDone(task);
494      }
495  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines