Added some extradelay for TestRESTSubReqAndSubDelOkSameAction
Signed-off-by: Markku Virtanen <markku.virtanen@nokia.com>
Change-Id: If7e3f3be58eccc4153f0639f85efabe6a35fb644
diff --git a/pkg/control/ut_messaging_test.go b/pkg/control/ut_messaging_test.go
index 71bc92d..415c438 100644
--- a/pkg/control/ut_messaging_test.go
+++ b/pkg/control/ut_messaging_test.go
@@ -3249,7 +3249,9 @@
xapp.Subscription.SetResponseCB(xappConn2.SubscriptionRespHandler)
xappConn2.WaitRESTNotificationForAnySubscriptionId(t)
+ waiter := rtmgrHttp.AllocNextSleep(10, true)
restSubId2 := xappConn2.SendRESTSubsReq(t, params)
+ waiter.WaitResult(t)
xapp.Logger.Info("Send REST subscriber request for subscriberId : %v", restSubId2)
e2SubsId2 := <-xappConn2.RESTNotification
xapp.Logger.Info("REST notification received e2SubsId=%v", e2SubsId2)