aboutsummaryrefslogtreecommitdiffstats
path: root/controlloop/common/controller-usecases
diff options
context:
space:
mode:
authorRam Krishna Verma <ram_krishna.verma@bell.ca>2020-03-19 15:40:52 +0000
committerGerrit Code Review <gerrit@onap.org>2020-03-19 15:40:52 +0000
commit6b7d3064ebc4bd6e3dca5d60708e853d2a4836f2 (patch)
treebee1c31c7ef1baeb91907cf7f688e9990a1cdcb6 /controlloop/common/controller-usecases
parent780268ec538e303bc5bd5c93e2b813e0d3dcbcc7 (diff)
parentffb12d3ca702aa53c3f95d6e721f202f27e1aa8b (diff)
Merge "Add rainyDayTest for VFW"
Diffstat (limited to 'controlloop/common/controller-usecases')
-rw-r--r--controlloop/common/controller-usecases/src/test/java/org/onap/policy/controlloop/UsecasesTest.java2
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")));
}
}