Change in osmo-ttcn3-hacks[master]: bsc: f_tc_ho_int: do not override TestHdlrParams

neels gerrit-no-reply at lists.osmocom.org
Mon Jun 21 00:44:45 UTC 2021


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


Change subject: bsc: f_tc_ho_int: do not override TestHdlrParams
......................................................................

bsc: f_tc_ho_int: do not override TestHdlrParams

Related: SYS#5324
Change-Id: Ibd1a887b197100bf7ffe1e37c6567690bc4c8f8c
---
M bsc/BSC_Tests.ttcn
1 file changed, 2 insertions(+), 2 deletions(-)



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

diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index e20559b..107eb6b 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -4680,7 +4680,6 @@
 
 /* intra-BSC hand-over between BTS0 and BTS1 */
 private function f_tc_ho_int(charstring id) runs on MSC_ConnHdlr {
-	g_pars := f_gen_test_hdlr_pars();
 	var template PDU_BSSAP exp_compl := f_gen_exp_compl();
 	var PDU_BSSAP ass_cmd := f_gen_ass_req();
 
@@ -4720,13 +4719,14 @@
 }
 
 testcase TC_ho_int() runs on test_CT {
+	var TestHdlrParams pars := f_gen_test_hdlr_pars();
 	var MSC_ConnHdlr vc_conn;
 	f_init(2, true);
 	f_sleep(1.0);
 
 	f_ctrs_bsc_and_bts_init();
 
-	vc_conn := f_start_handler(refers(f_tc_ho_int));
+	vc_conn := f_start_handler(refers(f_tc_ho_int), pars);
 	vc_conn.done;
 
 	/* from f_establish_fully() */

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24726
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: Ibd1a887b197100bf7ffe1e37c6567690bc4c8f8c
Gerrit-Change-Number: 24726
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210621/c55a47d5/attachment.htm>


More information about the gerrit-log mailing list