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
Making Platform Static Routes configurable
[ric-plt/rtmgr.git]
/
pkg
/
nbi
/
httprestful_test.go
diff --git
a/pkg/nbi/httprestful_test.go
b/pkg/nbi/httprestful_test.go
index
cfa644e
..
465f17b
100644
(file)
--- a/
pkg/nbi/httprestful_test.go
+++ b/
pkg/nbi/httprestful_test.go
@@
-44,6
+44,7
@@
import (
"routing-manager/pkg/stub"
"testing"
"time"
"routing-manager/pkg/stub"
"testing"
"time"
+ "sync"
"github.com/go-openapi/swag"
)
"github.com/go-openapi/swag"
)
@@
-172,7
+173,8
@@
func TestHttpInstance(t *testing.T) {
//ts := createMockAppmgrWithData("127.0.0.1:3000", BasicXAppLists, nil)
//ts.Start()
//defer ts.Close()
//ts := createMockAppmgrWithData("127.0.0.1:3000", BasicXAppLists, nil)
//ts.Start()
//defer ts.Close()
- err = httpinstance.Initialize(XMURL, "httpgetter", "rt.json", "config.json", sdlEngine, rpeEngine, triggerSBI)
+ var m sync.Mutex
+ err = httpinstance.Initialize(XMURL, "httpgetter", "rt.json", "config.json", sdlEngine, rpeEngine, triggerSBI, &m)
}
func TestXappCallbackDataChannelwithdata(t *testing.T) {
}
func TestXappCallbackDataChannelwithdata(t *testing.T) {