X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fio%2Fcache%2FJvCacheableInputBoxTest.java;h=010a4b24531968d1b17205b4e77fbac0efecc605;hb=383fd91269f510b189450fbe174e9c051103c7eb;hp=dfd797305286e8c6b687d5671326a1bea82e8752;hpb=136c0793b90b72b928c4d77dc109dd5c644e00d3;p=jalview.git diff --git a/test/jalview/io/cache/JvCacheableInputBoxTest.java b/test/jalview/io/cache/JvCacheableInputBoxTest.java index dfd7973..010a4b2 100644 --- a/test/jalview/io/cache/JvCacheableInputBoxTest.java +++ b/test/jalview/io/cache/JvCacheableInputBoxTest.java @@ -55,10 +55,9 @@ public class JvCacheableInputBoxTest cacheBox.updateCache(); try { - // This 1ms delay is essential to prevent the - // assertion below from executing before - // cacheBox.updateCache() finishes updating the cache - Thread.sleep(100); + // This delay is to let + // cacheBox.updateCache() finish updating the cache + Thread.sleep(200); } catch (InterruptedException e) { e.printStackTrace();