mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-31 12:24:10 -08:00
Fix flaky test
This commit is contained in:
parent
8e67fe0168
commit
80194f054e
|
@ -270,7 +270,9 @@ public class VMTest {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Thread.sleep(1);
|
Thread.sleep(1);
|
||||||
wait();
|
synchronized (AsyncClinitClass.this) {
|
||||||
|
wait();
|
||||||
|
}
|
||||||
} catch (InterruptedException ie) {
|
} catch (InterruptedException ie) {
|
||||||
instanceState = "error";
|
instanceState = "error";
|
||||||
throw new RuntimeException(ie);
|
throw new RuntimeException(ie);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user