JAL-4118 remove unnecessary sleep from QuitHandlerTest
authorBen Soares <b.soares@dundee.ac.uk>
Thu, 26 Jan 2023 17:06:40 +0000 (17:06 +0000)
committerBen Soares <b.soares@dundee.ac.uk>
Thu, 26 Jan 2023 17:06:40 +0000 (17:06 +0000)
test/jalview/gui/QuitHandlerTest.java

index a8a7f08..b257088 100644 (file)
@@ -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)