X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=feature-active-standby-management%2Fsrc%2Ftest%2Fjava%2Forg%2Fonap%2Fpolicy%2Fdrools%2Fcontroller%2Ftest%2FAllSeemsWellTest.java;h=719fb62fdd62049a94b77fd8603b4552219339ef;hb=f56dbc888dd7ef8c1abd31b726525cf57ede8aa7;hp=55ab7c5566c3b4b88be8cabc8a3eb049adbb24df;hpb=86512b0d4e3235fca6379b3d7f3f1d8a9a5c606b;p=policy%2Fdrools-pdp.git diff --git a/feature-active-standby-management/src/test/java/org/onap/policy/drools/controller/test/AllSeemsWellTest.java b/feature-active-standby-management/src/test/java/org/onap/policy/drools/controller/test/AllSeemsWellTest.java index 55ab7c55..719fb62f 100644 --- a/feature-active-standby-management/src/test/java/org/onap/policy/drools/controller/test/AllSeemsWellTest.java +++ b/feature-active-standby-management/src/test/java/org/onap/policy/drools/controller/test/AllSeemsWellTest.java @@ -278,8 +278,8 @@ public class AllSeemsWellTest { logger.debug("testAllSeemsWell: Sleeping {} s, to allow JpaDroolsPdpsConnector " - + "time to check droolspdpentity table", SLEEP_TIME_SEC); - waitForCondition(()-> conn.getPdp(thisPdpId).isDesignated(), SLEEP_TIME_SEC); + + "time to check droolspdpentity table", SLEEP_TIME_SEC); + waitForCondition(() -> conn.getPdp(thisPdpId).isDesignated(), SLEEP_TIME_SEC); // Verify that this formerly un-designated PDP in HOT_STANDBY is now designated and providing service. @@ -305,8 +305,8 @@ public class AllSeemsWellTest { //It takes 10x the update interval (1 sec) before the watcher will declare the election handler dead //and that just stops forward progress counter. So, the fp monitor must then run to determine - //if the fpc has stalled. That will take about another 5 sec. - waitForCondition(()-> smf.getStandbyStatus().equals(StateManagement.COLD_STANDBY), + // if the fpc has stalled. That will take about another 5 sec. + waitForCondition(() -> smf.getStandbyStatus().equals(StateManagement.COLD_STANDBY), STALLED_ELECTION_HANDLER_SLEEP_TIME_SEC); logger.debug("testAllSeemsWell: After isStalled=true, PDP= {} "