diff options
Diffstat (limited to 'controlloop/common/controller-usecases/src')
-rw-r--r-- | controlloop/common/controller-usecases/src/test/java/org/onap/policy/controlloop/UsecasesTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controlloop/common/controller-usecases/src/test/java/org/onap/policy/controlloop/UsecasesTest.java b/controlloop/common/controller-usecases/src/test/java/org/onap/policy/controlloop/UsecasesTest.java index 53c15a312..1250dc80f 100644 --- a/controlloop/common/controller-usecases/src/test/java/org/onap/policy/controlloop/UsecasesTest.java +++ b/controlloop/common/controller-usecases/src/test/java/org/onap/policy/controlloop/UsecasesTest.java @@ -115,6 +115,6 @@ public class UsecasesTest extends BaseRuleTest { Listener<VirtualControlLoopNotification> policyClMgt, ControlLoopNotificationType finalType) { return policyClMgt.await(notif -> notif.getNotification() == finalType - && (policy.getIdentifier().getName() + ".EVENT.MANAGER").equals(notif.getPolicyName())); + && (notif.getPolicyName().contains(policy.getIdentifier().getName() + ".EVENT.MANAGER"))); } } |