# | Line 509 | Line 509 | public class ScheduledExecutorTest exten | |
---|---|---|
509 | assertFalse(p.isTerminating()); | |
510 | p.execute(new CheckedRunnable() { | |
511 | public void realRun() throws InterruptedException { | |
512 | – | threadStarted.countDown(); |
512 | assertFalse(p.isTerminating()); | |
513 | + | threadStarted.countDown(); |
514 | done.await(); | |
515 | }}); | |
516 | assertTrue(threadStarted.await(SMALL_DELAY_MS, MILLISECONDS)); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |