diff options
author | Peyton Puckett <peyton.puckett@att.com> | 2020-03-17 11:30:11 -0500 |
---|---|---|
committer | Peyton Puckett <peyton.puckett@att.com> | 2020-03-18 15:56:16 -0500 |
commit | ffb12d3ca702aa53c3f95d6e721f202f27e1aa8b (patch) | |
tree | 4f12a6a6b4c5fde837880b3273b3ecdf50b9fbb0 /controlloop/common/controller-usecases/src | |
parent | 01cbeec256bf5ec9e3ec2e7f599aef7eb4814ae3 (diff) |
Add rainyDayTest for VFW
Added less restrictive filter condition to consider discarded messages
Issue-ID: POLICY-2431
Change-Id: I0bc5e34636699094c97bd7e5669f66df875cd6ae
Signed-off-by: Peyton Puckett <peyton.puckett@att.com>
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"))); } } |