diff options
author | 2025-01-16 16:56:25 +0000 | |
---|---|---|
committer | 2025-01-16 16:56:25 +0000 | |
commit | 99a1d82fb3c3f07015bbee5441c70a6a4a27ccfa (patch) | |
tree | 257d46c26494c5afe056f788ccc107bcd19d32e0 /cps-application/src/test | |
parent | 856619ceb02f533ec7c5dff9a67ab17ef780276c (diff) | |
parent | e0ea27a6e0902a4bff75ae5cd4b6025ee0d40a1c (diff) |
Merge "Handle restart case for cps-ncmp gauge metrics"
Diffstat (limited to 'cps-application/src/test')
-rw-r--r-- | cps-application/src/test/groovy/org/onap/cps/config/MicroMeterConfigSpec.groovy | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cps-application/src/test/groovy/org/onap/cps/config/MicroMeterConfigSpec.groovy b/cps-application/src/test/groovy/org/onap/cps/config/MicroMeterConfigSpec.groovy index 67ca64624a..da3afc6f2c 100644 --- a/cps-application/src/test/groovy/org/onap/cps/config/MicroMeterConfigSpec.groovy +++ b/cps-application/src/test/groovy/org/onap/cps/config/MicroMeterConfigSpec.groovy @@ -43,9 +43,8 @@ class MicroMeterConfigSpec extends Specification { objectUnderTest.readyCmHandles(simpleMeterRegistry) objectUnderTest.lockedCmHandles(simpleMeterRegistry) objectUnderTest.deletingCmHandles(simpleMeterRegistry) - objectUnderTest.deletedCmHandles(simpleMeterRegistry) then: 'each state has the correct value when queried' - def states = ["ADVISED", "READY", "LOCKED", "DELETING", "DELETED"] + def states = ["ADVISED", "READY", "LOCKED", "DELETING"] states.each { state -> def gaugeValue = simpleMeterRegistry.get("cmHandlesByState").tag("state",state).gauge().value() assert gaugeValue == 1 |