diff options
Diffstat (limited to 'controlloop/common/eventmanager/src/test/java')
-rw-r--r-- | controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/ControlLoopEventManagerTest.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/ControlLoopEventManagerTest.java b/controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/ControlLoopEventManagerTest.java index 182791d22..1af4a312d 100644 --- a/controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/ControlLoopEventManagerTest.java +++ b/controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/ControlLoopEventManagerTest.java @@ -755,9 +755,11 @@ public class ControlLoopEventManagerTest { LockResult<GuardResult, TargetLock> lockLock = manager.lockCurrentOperation(); assertNotNull(lockLock); + assertEquals(GuardResult.LOCK_ACQUIRED, lockLock.getA()); LockResult<GuardResult, TargetLock> lockLockAgain = manager.lockCurrentOperation(); assertNotNull(lockLockAgain); + assertEquals(GuardResult.LOCK_ACQUIRED, lockLockAgain.getA()); assertEquals(lockLock.getB(), lockLockAgain.getB()); assertEquals(lockLock.getB(), manager.unlockCurrentOperation()); |