X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=e2ap%2Fpkg%2Fe2ap%2Fe2ap_tests%2Fmsg_e2ap_subscription.go;h=eb95cc409ad6e7640543403ccf940d58d2c88c9e;hb=483bd162c10ee2f0ef348b5c25c2987aea80b7c8;hp=67a5858a817c5f24670db57f237c9e7fb1cb0a2e;hpb=2392e6e49a6567a5d7477a93780b327238ee98b8;p=ric-plt%2Fsubmgr.git diff --git a/e2ap/pkg/e2ap/e2ap_tests/msg_e2ap_subscription.go b/e2ap/pkg/e2ap/e2ap_tests/msg_e2ap_subscription.go index 67a5858..eb95cc4 100644 --- a/e2ap/pkg/e2ap/e2ap_tests/msg_e2ap_subscription.go +++ b/e2ap/pkg/e2ap/e2ap_tests/msg_e2ap_subscription.go @@ -156,14 +156,9 @@ func (testCtxt *E2ApTests) E2ApTestMsgSubscriptionFailure(t *testing.T) { afailenc := e2ap.E2APSubscriptionFailure{} afailenc.RequestId.Id = 1 afailenc.RequestId.InstanceId = 22 - afailenc.FunctionId = 33 - for index := uint64(0); index < 16; index++ { - item := e2ap.ActionNotAdmittedItem{} - item.ActionId = index - item.Cause.Content = 1 - item.Cause.Value = 1 - afailenc.ActionNotAdmittedList.Items = append(afailenc.ActionNotAdmittedList.Items, item) - } + afailenc.Cause.Content = e2ap.E2AP_CauseContent_RICrequest + afailenc.Cause.Value = e2ap.E2AP_CauseValue_RICrequest_control_message_invalid + // NOT SUPPORTED CURRENTLY afailenc.CriticalityDiagnostics.Present = false // afailenc.CriticalityDiagnostics.ProcCodePresent = true