JAL-629 loaded props from arg in failing build server tests
authorBen Soares <b.soares@dundee.ac.uk>
Mon, 24 Apr 2023 12:39:46 +0000 (13:39 +0100)
committerBen Soares <b.soares@dundee.ac.uk>
Mon, 24 Apr 2023 12:39:46 +0000 (13:39 +0100)
test/jalview/bin/CommandsTest2.java
test/jalview/bin/commandsTest2.jvprops [moved from test/jalview/bin/commandsTest.jvprops with 100% similarity]

index 0e1720a..f6b325e 100644 (file)
@@ -26,7 +26,7 @@ public class CommandsTest2
   @BeforeClass(alwaysRun = true)
   public static void setUpBeforeClass() throws Exception
   {
-    Cache.loadProperties("test/jalview/bin/commandsTest.jvprops");
+    Cache.loadProperties("test/jalview/bin/commandsTest2.jvprops");
     Date oneHourFromNow = new Date(
             System.currentTimeMillis() + 3600 * 1000);
     Cache.setDateProperty("JALVIEW_NEWS_RSS_LASTMODIFIED", oneHourFromNow);
@@ -181,8 +181,10 @@ public class CommandsTest2
                 + "--noannotations " + "--nossannotations "
                 + "--props=test/jalview/bin/commandsTest2.jvprops1 ",
             15, 0, 1 },
-        { "--argfile=test/jalview/bin/commandsTest2.argfile1 ", 16, 19, 3 },
-        { "--argfile=test/jalview/bin/commandsTest2.argfile2 ", 16, 0, 2 },
+        { "--props=test/jalview/bin/commandsTest2.jvprops --argfile=test/jalview/bin/commandsTest2.argfile1 ",
+            16, 19, 3 },
+        { "--props=test/jalview/bin/commandsTest2.jvprops --argfile=test/jalview/bin/commandsTest2.argfile2 ",
+            16, 0, 2 },
         //
     };
   }