From: Ben Soares Date: Thu, 26 Jan 2023 17:06:40 +0000 (+0000) Subject: JAL-4118 remove unnecessary sleep from QuitHandlerTest X-Git-Tag: Release_2_11_3_0~23^2~8^2 X-Git-Url: http://source.jalview.org/gitweb/?p=jalview.git;a=commitdiff_plain;h=dbdd2bd3493e0aef8aa3c0fe054c6bceedc31316 JAL-4118 remove unnecessary sleep from QuitHandlerTest --- diff --git a/test/jalview/gui/QuitHandlerTest.java b/test/jalview/gui/QuitHandlerTest.java index a8a7f08..b257088 100644 --- a/test/jalview/gui/QuitHandlerTest.java +++ b/test/jalview/gui/QuitHandlerTest.java @@ -174,8 +174,6 @@ public class QuitHandlerTest Cache.setProperty("DEBUG_DELAY_SAVE", "false"); af.saveAlignment(saveProjectFile, FileFormat.Jalview); - Thread.sleep(1000); // give time for file to save - // this is only a two button dialog [Quit] [Cancel] so use NO_OPTION (to // mean [CANCEL] -- file should already be saved so this doesn't happen and // we get a QUIT response)