# | Line 889 | Line 889 | public class ReentrantLockTest extends J | |
---|---|---|
889 | public void run() { | |
890 | try { | |
891 | lock.lock(); | |
892 | < | c.awaitNanos(SHORT_DELAY_MS * 2 * 1000000); |
892 | > | c.awaitNanos(1000 * 1000 * 1000); // 1 sec |
893 | lock.unlock(); | |
894 | threadShouldThrow(); | |
895 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |