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

laforge gerrit-no-reply at lists.osmocom.org
Mon Jun 21 16:26:26 UTC 2021


laforge has submitted this change. ( 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(-)

Approvals:
  laforge: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index 5d72111..a008bb8 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: 4
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210621/2108fcb2/attachment.htm>


More information about the gerrit-log mailing list