BSC_Tests: fix early mtc.stop in TC_chan_rel_rr_cause()

Calling f_shutdown_helper() in f_tc_chan_rel_rr_cause() leads to
premature test case termination, so only one out of 6 cause values
gets checked.  Move it to TC_chan_rel_rr_cause().

Change-Id: Ic7df15b496fc0750e4f694b1ae79398216f498a7
This commit is contained in:
Vadim Yanitskiy 2021-01-03 13:10:43 +01:00
parent d533890fa7
commit e18aebbeb2
1 changed files with 2 additions and 1 deletions

View File

@ -1947,7 +1947,6 @@ runs on test_CT
}
f_expect_chan_rel(0, dt.rsl_chan_nr, expect_rll_rel_req := false, expect_rr_cause := expect_rr_cause);
f_shutdown_helper();
}
/* Test that Clear Command cause codes affect the RR Channel Release cause code */
@ -1960,6 +1959,8 @@ testcase TC_chan_rel_rr_cause() runs on test_CT {
f_tc_chan_rel_rr_cause(GSM0808_CAUSE_RADIO_INTERFACE_MESSAGE_FAILURE, GSM48_RR_CAUSE_PROT_ERROR_UNSPC);
f_tc_chan_rel_rr_cause(GSM0808_CAUSE_RADIO_INTERFACE_FAILURE, GSM48_RR_CAUSE_ABNORMAL_UNSPEC);
f_tc_chan_rel_rr_cause(GSM0808_CAUSE_EQUIPMENT_FAILURE, GSM48_RR_CAUSE_ABNORMAL_UNSPEC);
f_shutdown_helper();
}
/* Test behavior if RSL EST IND for non-active channel */