Code Review
/
ric-plt
/
submgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
H release step 2 of 2
[ric-plt/submgr.git]
/
pkg
/
control
/
metrics_test.go
diff --git
a/pkg/control/metrics_test.go
b/pkg/control/metrics_test.go
index
bf44a62
..
485f395
100644
(file)
--- a/
pkg/control/metrics_test.go
+++ b/
pkg/control/metrics_test.go
@@
-64,6
+64,7
@@
func TestAddAllCountersOnce(t *testing.T) {
Counter{cSDLRemoveFailure, 1},
Counter{cE2StateChangedToUp, 1},
Counter{cE2StateChangedToDown, 1},
Counter{cSDLRemoveFailure, 1},
Counter{cE2StateChangedToUp, 1},
Counter{cE2StateChangedToDown, 1},
+ Counter{cE2StateUnderReset, 1},
})
mainCtrl.c.UpdateCounter(cSubReqFromXapp)
})
mainCtrl.c.UpdateCounter(cSubReqFromXapp)
@@
-103,6
+104,7
@@
func TestAddAllCountersOnce(t *testing.T) {
mainCtrl.c.UpdateCounter(cSDLRemoveFailure)
mainCtrl.c.UpdateCounter(cE2StateChangedToUp)
mainCtrl.c.UpdateCounter(cE2StateChangedToDown)
mainCtrl.c.UpdateCounter(cSDLRemoveFailure)
mainCtrl.c.UpdateCounter(cE2StateChangedToUp)
mainCtrl.c.UpdateCounter(cE2StateChangedToDown)
+ mainCtrl.c.UpdateCounter(cE2StateUnderReset)
mainCtrl.VerifyCounterValues(t)
}
mainCtrl.VerifyCounterValues(t)
}