BSC_Tests: fix TC_chan_act_ack_noest_emerg

The testcase TC_chan_act_ack_noest_emerg tests if an emergency causes a
channel assignment. This can only work if emergency calls are allowed,
but the testcase does not make sure that this actually is the case.

Related: OS#4548
Change-Id: I0ddac0ba8ed4afe993d566dcbea87cdc62ed9fe4
This commit is contained in:
Philipp Maier 2020-08-12 17:24:40 +02:00
parent 5c59a8f04a
commit af58db2db9
1 changed files with 3 additions and 2 deletions

View File

@ -999,8 +999,6 @@ testcase TC_chan_act_counter() runs on test_CT {
private function f_TC_chan_act_ack_noest(OCT1 ra := '23'O) runs on test_CT {
var RSL_Message rx_rsl;
f_init(1);
/* Send CHAN RQD and wait for allocation; acknowledge it */
var RslChannelNr chan_nr := f_chreq_act_ack(ra);
@ -1012,12 +1010,15 @@ private function f_TC_chan_act_ack_noest(OCT1 ra := '23'O) runs on test_CT {
/* Normal variant */
testcase TC_chan_act_ack_noest() runs on test_CT {
f_init(1);
f_TC_chan_act_ack_noest();
}
/* Emergency call variant */
testcase TC_chan_act_ack_noest_emerg() runs on test_CT {
/* See also: 3GPP TS 04.08, Table 9.9, ra=101xxxxx */
f_init(1);
f_vty_allow_emerg_bts(true, 0);
f_TC_chan_act_ack_noest(ra := 'A5'O);
}