X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fcontrol%2Fut_messaging_test.go;h=69e7c1f92f75766e26673015aabdcff52b034763;hb=cb7dd49aa5f40a880b37a6bc35c972ef2773c164;hp=cd8a832601f4409db9d51f3bdef288b23136e32b;hpb=f682ace08a827bd260e4905b5ee1bddacf01c6e0;p=ric-plt%2Fsubmgr.git diff --git a/pkg/control/ut_messaging_test.go b/pkg/control/ut_messaging_test.go index cd8a832..69e7c1f 100644 --- a/pkg/control/ut_messaging_test.go +++ b/pkg/control/ut_messaging_test.go @@ -2619,15 +2619,11 @@ func TestRESTSubReqRetransmission(t *testing.T) { // Subs Create const subReqCount int = 1 - // const e2Timeout int64 = 2 - // const e2RetryCount int64 = 2 - // const routingNeeded bool = true // In order to force both XAPP's to create their own subscriptions, force rtmgr to block a while so that 2nd create // gets into execution before the rtmgrg responds for the first one. waiter := rtmgrHttp.AllocNextSleep(10, true) params := xappConn1.GetRESTSubsReqReportParams(subReqCount) - // params.SetSubscriptionDirectives(e2Timeout, e2RetryCount, routingNeeded) restSubId1 := xappConn1.SendRESTSubsReq(t, params) xappConn2.SendRESTSubsReq(t, params) @@ -3683,8 +3679,12 @@ func TestRESTSubReqSubFailRespInSubmgr(t *testing.T) { }) const subReqCount int = 1 + const e2Timeout int64 = 2 + const e2RetryCount int64 = 1 + const routingNeeded bool = true params := xappConn1.GetRESTSubsReqReportParams(subReqCount) + params.SetSubscriptionDirectives(e2Timeout, e2RetryCount, routingNeeded) restSubId := xappConn1.SendRESTSubsReq(t, params) crereq1, cremsg1 := e2termConn1.RecvSubsReq(t)