Michael Blow has submitted this change and it was merged. Change subject: [ASTERIXDB-2317] Intermittent Failure in Kill CC NCServiceExecutionIT ......................................................................
[ASTERIXDB-2317] Intermittent Failure in Kill CC NCServiceExecutionIT Increase timeouts waiting for cluster state transitions, to accomodate graceful shutdown Change-Id: I0392cae1d2e9b6bfd9455ba2795711ecf7f1ebe3 Reviewed-on: https://asterix-gerrit.ics.uci.edu/2484 Sonar-Qube: Jenkins <[email protected]> Reviewed-by: Murtadha Hubail <[email protected]> Tested-by: Jenkins <[email protected]> Contrib: Jenkins <[email protected]> --- M asterixdb/asterix-server/src/test/java/org/apache/asterix/test/server/NCServiceExecutionIT.java 1 file changed, 3 insertions(+), 3 deletions(-) Approvals: Anon. E. Moose #1000171: Jenkins: Verified; No violations found; Murtadha Hubail: Looks good to me, approved diff --git a/asterixdb/asterix-server/src/test/java/org/apache/asterix/test/server/NCServiceExecutionIT.java b/asterixdb/asterix-server/src/test/java/org/apache/asterix/test/server/NCServiceExecutionIT.java index 3c46be6..7398dbf 100644 --- a/asterixdb/asterix-server/src/test/java/org/apache/asterix/test/server/NCServiceExecutionIT.java +++ b/asterixdb/asterix-server/src/test/java/org/apache/asterix/test/server/NCServiceExecutionIT.java @@ -237,7 +237,7 @@ case NC1: LOGGER.info("Killing NC1..."); nc1.stop(); // we can't kill due to ASTERIXDB-1941 - testExecutor.waitForClusterState("UNUSABLE", 60, TimeUnit.SECONDS); // wait for missed heartbeats... + testExecutor.waitForClusterState("UNUSABLE", 90, TimeUnit.SECONDS); // wait for missed heartbeats... nc1.start(); // this restarts the NC service testExecutor.startNC("asterix_nc1"); break; @@ -245,7 +245,7 @@ case NC2: LOGGER.info("Killing NC2..."); nc2.stop(); // we can't kill due to ASTERIXDB-1941 - testExecutor.waitForClusterState("UNUSABLE", 60, TimeUnit.SECONDS); // wait for missed heartbeats... + testExecutor.waitForClusterState("UNUSABLE", 90, TimeUnit.SECONDS); // wait for missed heartbeats... nc2.start(); // this restarts the NC service testExecutor.startNC("asterix_nc2"); break; @@ -254,7 +254,7 @@ Assert.fail("killType: " + killType); } try { - testExecutor.waitForClusterActive(30, TimeUnit.SECONDS); + testExecutor.waitForClusterActive(90, TimeUnit.SECONDS); } catch (Exception e) { // stop executing the rest of the tests since the cluster is not ACTIVE LOGGER.log(Level.ERROR, "Cannot continue since cluster is not ACTIVE", e); -- To view, visit https://asterix-gerrit.ics.uci.edu/2484 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: merged Gerrit-Change-Id: I0392cae1d2e9b6bfd9455ba2795711ecf7f1ebe3 Gerrit-PatchSet: 2 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Michael Blow <[email protected]> Gerrit-Reviewer: Anon. E. Moose #1000171 Gerrit-Reviewer: Jenkins <[email protected]> Gerrit-Reviewer: Michael Blow <[email protected]> Gerrit-Reviewer: Murtadha Hubail <[email protected]>
