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
Add route for e2nodeConfigUpdate
[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
..
a778ddb
100644
(file)
--- a/
pkg/sbi/nngpush_test.go
+++ b/
pkg/sbi/nngpush_test.go
@@
-40,7
+40,7
@@
import (
type Consumer struct{}
func (m Consumer) Consume(params *xapp.RMRParams) (err error) {
type Consumer struct{}
func (m Consumer) Consume(params *xapp.RMRParams) (err error) {
- xapp.Sdl
.Store(
"myKey", params.Payload)
+ xapp.Sdl
Storage.Store(rtmgr.RTMGR_SDL_NS,
"myKey", params.Payload)
return nil
}
return nil
}
@@
-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