Change in osmo-ttcn3-hacks[master]: bsc_nat: Wait for bsc-nat to connect to MSC before connecting the BSC

Daniel Willmann gerrit-no-reply at lists.osmocom.org
Thu Mar 28 16:19:54 UTC 2019


Daniel Willmann has uploaded this change for review. ( https://gerrit.osmocom.org/13457


Change subject: bsc_nat: Wait for bsc-nat to connect to MSC before connecting the BSC
......................................................................

bsc_nat: Wait for bsc-nat to connect to MSC before connecting the BSC

Change-Id: Ic02ce9bd46cab7e6d4833b1d838c334e377f7d50
---
M bsc-nat/BSCNAT_Tests.ttcn
1 file changed, 2 insertions(+), 0 deletions(-)



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

diff --git a/bsc-nat/BSCNAT_Tests.ttcn b/bsc-nat/BSCNAT_Tests.ttcn
index b6dca28..685066c 100644
--- a/bsc-nat/BSCNAT_Tests.ttcn
+++ b/bsc-nat/BSCNAT_Tests.ttcn
@@ -112,6 +112,8 @@
 		msc[i].MSC.start(MSC_Simulation.main(mp_msc_ip, mp_msc_port + i, msc[i].sccp_pars, msc[i].sccp_addr_own, id));
 	}
 
+	/* Wait for bsc_nat to attach to MSC. Before that all BSC connections will be dropped */
+	f_sleep(5.0);
 	for (i := 0; i < NUM_BSC; i := i+1) {
 		f_init_BscState(bsc[i], mp_bsc_pc +i, mp_msc_pc, mp_bsc_ssn, mp_msc_ssn);
 		bsc[i].BSC := BSC_CT.create;

-- 
To view, visit https://gerrit.osmocom.org/13457
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic02ce9bd46cab7e6d4833b1d838c334e377f7d50
Gerrit-Change-Number: 13457
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Willmann <dwillmann at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190328/907ecff8/attachment.html>


More information about the gerrit-log mailing list