Code Review
/
ric-plt
/
xapp-frame.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Use ubuntu20.04 image in testing as it's default go version is 1.16
[ric-plt/xapp-frame.git]
/
test
/
xapp
/
generator.go
diff --git
a/test/xapp/generator.go
b/test/xapp/generator.go
index
7db5f80
..
5a17ad4
100755
(executable)
--- a/
test/xapp/generator.go
+++ b/
test/xapp/generator.go
@@
-18,7
+18,7
@@
type Generator struct {
}
func (m Generator) Consume(params *xapp.RMRParams) (err error) {
}
func (m Generator) Consume(params *xapp.RMRParams) (err error) {
- xapp.Logger.Debug("message received - type=%d
subId=%d meid=%v", params.Mtype, params.SubId, params.Meid
)
+ xapp.Logger.Debug("message received - type=%d
txid=%s ubId=%d meid=%s", params.Mtype, params.Xid, params.SubId, params.Meid.RanName
)
mux.Lock()
rx++
mux.Lock()
rx++
@@
-58,8
+58,8
@@
func runTests(mtype, subId, amount, msize, ack int) {
params.Mtype = mtype
params.SubId = subId
params.Payload = s
params.Mtype = mtype
params.SubId = subId
params.Payload = s
- params.Meid = &xapp.RMRMeid{PlmnID: "123456", EnbID: "7788"}
- params.Xid = "TestXID"
+ params.Meid = &xapp.RMRMeid{PlmnID: "123456", EnbID: "7788"
, RanName: "RanName-gnb-1234"
}
+ params.Xid = "TestXID
1234
"
if ok := xapp.Rmr.SendMsg(params); ok {
tx++
if ack != 0 {
if ok := xapp.Rmr.SendMsg(params); ok {
tx++
if ack != 0 {