# | Line 1200 | Line 1200 | public class JSR166TestCase extends Test | |
---|---|---|
1200 | } catch (TimeoutException success) { | |
1201 | } catch (Exception fail) { | |
1202 | threadUnexpectedException(fail); | |
1203 | < | } finally { future.cancel(true); } |
1203 | > | } |
1204 | assertTrue(millisElapsedSince(startTime) >= timeoutMillis); | |
1205 | + | assertFalse(future.isDone()); |
1206 | } | |
1207 | ||
1208 | /** |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |