From: James Procter Date: Mon, 20 Mar 2023 17:00:10 +0000 (+0000) Subject: JAL-4153 longer Thread.sleep() calls in the hope that the test might pass on Bamboo X-Git-Tag: Release_2_11_3_0~15^2~1^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=22ddd72267b46ab5ce9a7d6b461769cdd751cd6b;p=jalview.git JAL-4153 longer Thread.sleep() calls in the hope that the test might pass on Bamboo --- diff --git a/test/jalview/io/cache/JvCacheableInputBoxTest.java b/test/jalview/io/cache/JvCacheableInputBoxTest.java index 13a9464..9946f4c 100644 --- a/test/jalview/io/cache/JvCacheableInputBoxTest.java +++ b/test/jalview/io/cache/JvCacheableInputBoxTest.java @@ -57,7 +57,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(100); + Thread.sleep(350); } catch (InterruptedException e) { e.printStackTrace(); @@ -77,7 +77,7 @@ public class JvCacheableInputBoxTest { // This delay is to let // cacheBox.updateCache() finish updating the cache - Thread.sleep(200); + Thread.sleep(350); } catch (InterruptedException e) { e.printStackTrace();