Merge pull request #10302 from eugenp/fix-test
fix illegal monitor test
This commit is contained in:
commit
157acf9f78
|
@ -20,6 +20,8 @@ public class IllegalMonitorStateExceptionUnitTest {
|
|||
|
||||
senderThread.join(1000);
|
||||
receiverThread.join(1000);
|
||||
|
||||
Thread.sleep(2000);
|
||||
|
||||
assertEquals("test", receiver.getMessage());
|
||||
assertFalse(sender.hasIllegalMonitorStateExceptionOccurred());
|
||||
|
|
Loading…
Reference in New Issue