diff options
author | decheng zhang <decheng.zhang@huawei.com> | 2022-03-23 20:46:04 -0400 |
---|---|---|
committer | decheng zhang <decheng.zhang@huawei.com> | 2022-04-15 23:21:29 -0400 |
commit | ad5981f8e4969c41724885c830dda2cef304adf9 (patch) | |
tree | 486c291810101b2a325dab77c0c87b85a52e6f0c /components/slice-analysis-ms/src/test/java/org/onap/slice/analysis/ms/service/ccvpn/BandwidthEvaluatorTest.java | |
parent | b5ffdfa0e652e7d7b6c320d28fc78eded8a0763a (diff) |
[SLICEANALYSIS] Bugfix1.1.1-slice-analysis-ms
- Add two attributes in policy payload: modelInvariantUuid and modelUuid
- Fix MrTopicParams builder bug
- Fix aai-subscriber server configuration and AAI-EVENT topic name
- Add safeguard for processing network-policy-list
- Fix AAI-EVENT entity format changes
- Add debug log lines
- Turn on scan in logback setting
Issue-ID: DCAEGEN2-3141
Signed-off-by: decheng zhang <decheng.zhang@huawei.com>
Change-Id: I0885035d85c55a6bff985b13f534c9db99e8fd09
Signed-off-by: decheng zhang <decheng.zhang@huawei.com>
Diffstat (limited to 'components/slice-analysis-ms/src/test/java/org/onap/slice/analysis/ms/service/ccvpn/BandwidthEvaluatorTest.java')
-rw-r--r-- | components/slice-analysis-ms/src/test/java/org/onap/slice/analysis/ms/service/ccvpn/BandwidthEvaluatorTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/slice-analysis-ms/src/test/java/org/onap/slice/analysis/ms/service/ccvpn/BandwidthEvaluatorTest.java b/components/slice-analysis-ms/src/test/java/org/onap/slice/analysis/ms/service/ccvpn/BandwidthEvaluatorTest.java index c80a1495..f0ce5509 100644 --- a/components/slice-analysis-ms/src/test/java/org/onap/slice/analysis/ms/service/ccvpn/BandwidthEvaluatorTest.java +++ b/components/slice-analysis-ms/src/test/java/org/onap/slice/analysis/ms/service/ccvpn/BandwidthEvaluatorTest.java @@ -60,7 +60,7 @@ public class BandwidthEvaluatorTest { @Test public void postTest() { - Event evt = mock(SimpleEvent.class); + Event evt = new SimpleEvent(null, "{}"); bandwidthEvaluator.post(evt); Mockito.verify(bandwidthEvaluator, Mockito.atLeastOnce()).post(Mockito.any(Event.class)); } |