diff options
Diffstat (limited to 'feature-state-management/src/test')
-rw-r--r-- | feature-state-management/src/test/java/org/onap/policy/drools/statemanagement/test/StateManagementTest.java | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/feature-state-management/src/test/java/org/onap/policy/drools/statemanagement/test/StateManagementTest.java b/feature-state-management/src/test/java/org/onap/policy/drools/statemanagement/test/StateManagementTest.java index 6f2a0e25..85e0ed85 100644 --- a/feature-state-management/src/test/java/org/onap/policy/drools/statemanagement/test/StateManagementTest.java +++ b/feature-state-management/src/test/java/org/onap/policy/drools/statemanagement/test/StateManagementTest.java @@ -53,12 +53,6 @@ public class StateManagementTest { // get an instance of logger private static Logger logger = LoggerFactory.getLogger(StateManagementTest.class); - /* - * Sleep after each test to allow interrupt (shutdown) recovery. - */ - - private long interruptRecoveryTime = 1500L; - StateManagementFeatureAPI stateManagementFeature; /* @@ -134,8 +128,6 @@ public class StateManagementTest { logger.debug(msg); } - Thread.sleep(interruptRecoveryTime); - String admin = stateManagementFeature.getAdminState(); String oper = stateManagementFeature.getOpState(); String avail = stateManagementFeature.getAvailStatus(); @@ -155,9 +147,7 @@ public class StateManagementTest { logger.error(e.getMessage()); assertTrue(e.getMessage(), false); } - - Thread.sleep(interruptRecoveryTime); - + admin = stateManagementFeature.getAdminState(); oper = stateManagementFeature.getOpState(); avail = stateManagementFeature.getAvailStatus(); @@ -179,8 +169,6 @@ public class StateManagementTest { logger.debug(e.getMessage()); } - Thread.sleep(interruptRecoveryTime); - admin = stateManagementFeature.getAdminState(); oper = stateManagementFeature.getOpState(); avail = stateManagementFeature.getAvailStatus(); |