Change in osmo-ttcn3-hacks[master]: BSC_Tests: fix TC_chan_act_ack_noest_emerg

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

dexter gerrit-no-reply at lists.osmocom.org
Wed Aug 12 15:39:06 UTC 2020


dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19578 )


Change subject: BSC_Tests: fix TC_chan_act_ack_noest_emerg
......................................................................

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
---
M bsc/BSC_Tests.ttcn
1 file changed, 3 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/78/19578/1

diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index 799d6a1..e556b48 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -999,8 +999,6 @@
 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 @@
 
 /* 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);
 }
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19578
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I0ddac0ba8ed4afe993d566dcbea87cdc62ed9fe4
Gerrit-Change-Number: 19578
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200812/b1162866/attachment.htm>


More information about the gerrit-log mailing list