Skip to content

Commit

Permalink
Increased wait time for GUI startup to 600 s in integration test.
Browse files Browse the repository at this point in the history
  • Loading branch information
csrster committed Jan 28, 2022
1 parent fadac57 commit d4a533d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ protected void initialiseSelenium(){
driver.manage().timeouts().implicitlyWait(1, TimeUnit.SECONDS);
baseUrl = "http://" + testController.ENV.getGuiHost() + ":" + testController.ENV.getGuiPort();
PageHelper.initialize(driver, baseUrl);
testGUIController.waitForGUIToStart(300);
testGUIController.waitForGUIToStart(600);
TestEventManager.getInstance().addFixture("Selecting English as language");
driver.findElement(By.linkText("English")).click();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public void restartGUI() {
testController.runTestXCommand(TestEnvironment.JOB_ADMIN_SERVER, "./conf/kill_GUIApplication.sh; sleep 10");
Thread.sleep(3000);
testController.runTestXCommand(TestEnvironment.JOB_ADMIN_SERVER, "./conf/start_GUIApplication.sh");
waitForGUIToStart(300);
waitForGUIToStart(600);
} catch (Exception e) {
throw new RuntimeException("Failed to redeploy GUI", e);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ private void cleanupGUIConfiguration() throws Exception {
+ "conf/kill_GUIApplication.sh; sleep 20;"
+ "cp conf/settings_GUIApplication.xml.original conf/settings_GUIApplication.xml; "
+ " conf/start_GUIApplication.sh; " + "fi");
testGUIController.waitForGUIToStart(300);
testGUIController.waitForGUIToStart(600);
}

private void assertColumnIsSorted(int column, boolean ascending) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ abstract class GenericWebJob extends LongRunningJob {
String baseUrl = "http://" + testController.ENV
.getGuiHost() + ":" + testController.ENV.getGuiPort();
PageHelper.initialize(driver, baseUrl);
testGUIController.waitForGUIToStart(60);
testGUIController.waitForGUIToStart(600);
stressTest.addFixture("Opening front page " + baseUrl);
this.stressTest = stressTest;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public IngestDomainJob(AbstractStressTest stressTest, WebDriver webDriver, Long
driver.manage().timeouts().implicitlyWait(1, TimeUnit.SECONDS);
String baseUrl = "http://" + testController.ENV.getGuiHost() + ":" + testController.ENV.getGuiPort();
PageHelper.initialize(driver, baseUrl);
testGUIController.waitForGUIToStart(60);
testGUIController.waitForGUIToStart(600);
stressTest.addFixture("Opening initial page " + baseUrl);
File domainsFile = null;
try {
Expand Down

0 comments on commit d4a533d

Please sign in to comment.