t.Errorf("want: error, got: success.\n")
}
- expected := "#x2_reset_known_causes.prepareX2ResetPDUs - failed to build and pack the reset message #src/asn1codec_utils.c.pack_pdu_aux - Encoded output of E2AP-PDU, is too big:"
+ expected := "failed to build and pack the reset message #src/asn1codec_utils.c.pack_pdu_aux - Encoded output of E2AP-PDU, is too big:"
if !strings.Contains(err.Error(), expected) {
t.Errorf("want :[%s], got: [%s]\n", expected, err)
}
nb := &entities.NodebInfo{}
nbIdentity := &entities.NbIdentity{}
+ nb.RanName = e2session.Request.RanName
nb.ConnectionStatus = entities.ConnectionStatus_CONNECTED_SETUP_FAILED
+ nb.E2ApplicationProtocol = entities.E2ApplicationProtocol_ENDC_X2_SETUP_REQUEST
nb.Ip = e2session.Request.RanIp
nb.Port = uint32(e2session.Request.RanPort)
nb.SetupFailure = failureResponse
nb := &entities.NodebInfo{}
nbIdentity := &entities.NbIdentity{}
+ nb.RanName = e2session.Request.RanName
nb.ConnectionStatus = entities.ConnectionStatus_CONNECTED_SETUP_FAILED
+ nb.E2ApplicationProtocol = entities.E2ApplicationProtocol_X2_SETUP_REQUEST
nb.Ip = e2session.Request.RanIp
nb.Port = uint32(e2session.Request.RanPort)
nb.SetupFailure = failureResponse