diff options
author | Liam Fallon <liam.fallon@est.tech> | 2020-05-28 09:15:38 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-05-28 09:15:38 +0000 |
commit | ba13401d2878da975b7decd0cf72f40bda1de7bc (patch) | |
tree | e93b65f3916fd3bca1cb3518ff2408f43ee3ac13 /controlloop/common/eventmanager/src/test | |
parent | c5b8a55465cc4fa22d04725196ee281ee58ed5e8 (diff) | |
parent | 8f59dfa64da6617a278558ff563041d6ff7c6670 (diff) |
Merge "Do additional processing when control loop times out"
Diffstat (limited to 'controlloop/common/eventmanager/src/test')
-rw-r--r-- | controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/ControlLoopOperationManager2Test.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/ControlLoopOperationManager2Test.java b/controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/ControlLoopOperationManager2Test.java index be8b70b13..6fda667eb 100644 --- a/controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/ControlLoopOperationManager2Test.java +++ b/controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/ControlLoopOperationManager2Test.java @@ -240,7 +240,7 @@ public class ControlLoopOperationManager2Test { } /** - * Tests start() when the control loop times out. + * Tests start() when the control loop times out before the operation starts. */ @Test public void testStartClTimeout_testHandleTimeout() throws InterruptedException { @@ -276,8 +276,8 @@ public class ControlLoopOperationManager2Test { // should have called update() for operation-start, but not for any nextStep() verify(mgrctx).updated(mgr); - // should not have tried to store anything in the DB - verify(dataMgr, never()).store(any(), any(), any(), any()); + // should have added a record to the DB + verify(dataMgr).store(any(), any(), any(), any()); } @Test |