From 1ea69b7d172fb890795f192abddc1301b1d4f775 Mon Sep 17 00:00:00 2001
From: Alexey Andreev <konsoletyper@gmail.com>
Date: Thu, 16 Feb 2017 22:33:18 +0300
Subject: [PATCH] Trying to fix flaky test

---
 .../test/java/org/teavm/classlib/java/lang/ThreadTest.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/src/test/java/org/teavm/classlib/java/lang/ThreadTest.java b/tests/src/test/java/org/teavm/classlib/java/lang/ThreadTest.java
index 1ac2e2404..badbc0b70 100644
--- a/tests/src/test/java/org/teavm/classlib/java/lang/ThreadTest.java
+++ b/tests/src/test/java/org/teavm/classlib/java/lang/ThreadTest.java
@@ -39,14 +39,14 @@ public class ThreadTest {
         new Thread() {
             @Override public void run() {
                 try {
-                    Thread.sleep(100);
+                    Thread.sleep(50);
                 } catch (InterruptedException e) {
                 }
                 mainThread.interrupt();
             }
         }.start();
         try {
-            Thread.sleep(300);
+            Thread.sleep(500);
             fail("Exception expected");
         } catch (InterruptedException e) {
             assertEquals(Thread.currentThread(), mainThread);