Code Review
/
ric-plt
/
rtmgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fixed Unit Test Cases
[ric-plt/rtmgr.git]
/
pkg
/
sbi
/
nngpush_test.go
diff --git
a/pkg/sbi/nngpush_test.go
b/pkg/sbi/nngpush_test.go
index
519b26e
..
e53ac5c
100644
(file)
--- a/
pkg/sbi/nngpush_test.go
+++ b/
pkg/sbi/nngpush_test.go
@@
-56,6
+56,7
@@
func TestMain(m *testing.M) {
Resets the EndpointList according to argumnets
*/
func resetTestPushDataset(instance RmrPush, testdata []rtmgr.Endpoint) {
Resets the EndpointList according to argumnets
*/
func resetTestPushDataset(instance RmrPush, testdata []rtmgr.Endpoint) {
+ rtmgr.RMRConnStatus = make(map[string]bool)
rtmgr.Eps = make(map[string]*rtmgr.Endpoint)
for _, endpoint := range testdata {
ep := endpoint
rtmgr.Eps = make(map[string]*rtmgr.Endpoint)
for _, endpoint := range testdata {
ep := endpoint