JAL-4513 now re-add the SwingUtilities.invokeAndWait() with minimal sleep
[jalview.git] / test / jalview / io / cache / JvCacheableInputBoxTest.java
index 54152a6..35ace47 100644 (file)
@@ -63,7 +63,7 @@ public class JvCacheableInputBoxTest
           // This delay is essential to prevent the
           // assertion below from executing before
           // swing thread finishes updating the combo-box
-          Thread.sleep(10);
+          Thread.sleep(1);
         } catch (InterruptedException e)
         {
           e.printStackTrace();
@@ -92,7 +92,7 @@ public class JvCacheableInputBoxTest
         {
           // This delay is to let
           // cacheBox.updateCache() finish updating the cache
-          Thread.sleep(10);
+          Thread.sleep(1);
         } catch (InterruptedException e)
         {
           e.printStackTrace();