Fix flaky test

This commit is contained in:
Alexey Andreev 2017-04-22 00:47:47 +03:00
parent 8e67fe0168
commit 80194f054e

View File

@ -270,7 +270,9 @@ public class VMTest {
try {
Thread.sleep(1);
wait();
synchronized (AsyncClinitClass.this) {
wait();
}
} catch (InterruptedException ie) {
instanceState = "error";
throw new RuntimeException(ie);