Code Review
/
ric-plt
/
submgr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c9eb08a
)
Don't make rmr stub check if there is none of them
84/2684/1
author
Juha Hyttinen
<juha.hyttinen@nokia.com>
Thu, 5 Mar 2020 10:59:03 +0000
(12:59 +0200)
committer
Juha Hyttinen
<juha.hyttinen@nokia.com>
Thu, 5 Mar 2020 10:59:26 +0000
(12:59 +0200)
Change-Id: I95c1f35c538ec51575a748b09616a1c80e32cf14
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
pkg/teststub/controlRmrStub.go
patch
|
blob
|
history
diff --git
a/pkg/teststub/controlRmrStub.go
b/pkg/teststub/controlRmrStub.go
index
a8c861f
..
a01a0a5
100644
(file)
--- a/
pkg/teststub/controlRmrStub.go
+++ b/
pkg/teststub/controlRmrStub.go
@@
-147,6
+147,10
@@
func RmrStubControlWaitAlive(seconds int, mtype int, rmr xapptweaks.XAppWrapperI
params.Xid = "TESTPING"
params.Mbuf = nil
+ if len(allRmrStubs) == 0 {
+ rmr.GetLogger().Info("No rmr stubs so no need to wait those to be alive")
+ return true
+ }
status := false
i := 1
for ; i <= seconds*2 && status == false; i++ {