diff options
author | malar <malarvizhi.44@wipro.com> | 2022-11-09 10:26:31 +0000 |
---|---|---|
committer | malar <malarvizhi.44@wipro.com> | 2022-11-17 08:25:56 +0000 |
commit | 584f29be579cd483c8f9bd888a747b2ebbeea7f1 (patch) | |
tree | 646810ed34b71618324f989764d30cf1e4d2912a /components/kpi-computation-ms/src/test/java/org | |
parent | 900b294dc92b11873ae97d5e56ff7a672e2b9b3d (diff) |
Fix bug in wrong SNSSAI value being appended with MeasType string1.0.11-kpi-computation-ms
The SNSSAI can be a alphanumeric also, so modified the code acording to that.
Issue-ID: DCAEGEN2-3310
Signed-off-by: Malarvizhi Paramasivam <malarvizhi.44@wipro.com>
Change-Id: Iac3e66e8d12a817681c15100ba80d2efee8e0498
Diffstat (limited to 'components/kpi-computation-ms/src/test/java/org')
-rw-r--r-- | components/kpi-computation-ms/src/test/java/org/onap/dcaegen2/kpi/computation/KpiComputationTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/kpi-computation-ms/src/test/java/org/onap/dcaegen2/kpi/computation/KpiComputationTest.java b/components/kpi-computation-ms/src/test/java/org/onap/dcaegen2/kpi/computation/KpiComputationTest.java index 79f7e498..c5e0dc31 100644 --- a/components/kpi-computation-ms/src/test/java/org/onap/dcaegen2/kpi/computation/KpiComputationTest.java +++ b/components/kpi-computation-ms/src/test/java/org/onap/dcaegen2/kpi/computation/KpiComputationTest.java @@ -108,7 +108,7 @@ public class KpiComputationTest { List<VesEvent> vesList = new KpiComputation().checkAndDoComputation(vesMessage, config); VesEvent vesEvent = vesList.get(0); assertEquals(vesEvent.getEvent().getPerf3gppFields().getMeasDataCollection().getMeasInfoList().get(0) - .getMeasTypes().getMeasTypesList().get(0), "PDUSessionEstSR.00110010"); + .getMeasTypes().getMeasTypesList().get(0), "PDUSessionEstSR.01-B989BD"); } @Test @@ -121,9 +121,9 @@ public class KpiComputationTest { VesEvent vesEvent = vesList.get(0); VesEvent anotherVesEvent = vesList.get(18); assertEquals(vesEvent.getEvent().getPerf3gppFields().getMeasDataCollection().getMeasInfoList().get(0) - .getMeasTypes().getMeasTypesList().get(0), "PDUSessionEstSR.00110010"); + .getMeasTypes().getMeasTypesList().get(0), "PDUSessionEstSR.01-B989BD"); assertEquals(anotherVesEvent.getEvent().getPerf3gppFields().getMeasDataCollection().getMeasInfoList().get(0) - .getMeasTypes().getMeasTypesList().get(0), "PDUSessionEstSR.00101110"); + .getMeasTypes().getMeasTypesList().get(0), "PDUSessionEstSR.01-B989BD"); } @Test |