BSC_Tests: Fix test case TC_err_84_unknown

The test cases used UPLINK RELEASE message as test for an unspported
message. This message is supported and does not trigger the expected RR
STATUS message. The fix uses the unsupported DTM ASSIGNMENT FAILURE
message.

To have the DTM ASSIGNMENT FAILE, it is added to
library/L3_Templates.ttcn.

Change-Id: I35877574cf4459332229e3b941918bc0a23b939f
This commit is contained in:
Andreas Eversberg 2023-07-25 12:37:42 +02:00 committed by laforge
parent eb930fdc0c
commit 9ff96e68ff
2 changed files with 18 additions and 2 deletions

View File

@ -5656,10 +5656,9 @@ testcase TC_err_82_short_msg() runs on test_CT {
f_shutdown_helper();
}
/* 24.008 8.4 Unknown message must trigger RR STATUS */
private function f_tc_err_84_unknown_msg(charstring id) runs on MSC_ConnHdlr {
f_est_single_l3(ts_RRM_UL_REL('00'O));
f_est_single_l3(ts_RRM_DTM_ASS_FAIL('00'O));
timer T := 3.0
alt {
[] RSL.receive(tr_RSL_DATA_REQ(g_chan_nr, ?, decmatch tr_RRM_RR_STATUS)) {

View File

@ -1012,6 +1012,23 @@ template (value) PDU_ML3_MS_NW ts_RRM_UL_REL(OCT1 cause) := {
}
}
template (value) PDU_ML3_MS_NW ts_RRM_DTM_ASS_FAIL(OCT1 cause) := {
discriminator := '0110'B,
tiOrSkip := {
skipIndicator := '0000'B
},
msgs := {
rrm := {
dTM_AssignmentFailure := {
messageType := '01001000'B,
rR_Cause := {
valuePart := cause
}
}
}
}
}
template PDU_ML3_MS_NW tr_RRM_RR_STATUS(template OCT1 cause := ?) := {
discriminator := '0110'B,
tiOrSkip := {