pespin has uploaded this change for review.

View Change

hnbgw: Create all components alive

This makes it easier to figure out errors due to getting rid of DTEs
changing the result output of the test.

Change-Id: If7ef1897adf3ef819314aa094ba78c526d77770f
---
M hnbgw/HNBGW_Tests.ttcn
1 file changed, 7 insertions(+), 6 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/87/39487/1
diff --git a/hnbgw/HNBGW_Tests.ttcn b/hnbgw/HNBGW_Tests.ttcn
index 939a608..58a27fc 100644
--- a/hnbgw/HNBGW_Tests.ttcn
+++ b/hnbgw/HNBGW_Tests.ttcn
@@ -312,7 +312,7 @@
multi_conn_mode := false
}

- vc_MGCP := MGCP_Emulation_CT.create(id);
+ vc_MGCP := MGCP_Emulation_CT.create(id) alive;
map(vc_MGCP:MGCP, system:MGCP_CODEC_PT);
vc_MGCP.start(MGCP_Emulation.main(ops, pars, id));
}
@@ -410,10 +410,10 @@
iuh_pars.remote_sctp_port := mp_hnbgw_iuh_port;
iuh_pars.local_ip := mp_hnodeb_ip;
iuh_pars.local_sctp_port := mp_hnodeb_port + hnb_idx;
- vc_Iuh[hnb_idx] := Iuh_Emulation_CT.create(id);
+ vc_Iuh[hnb_idx] := Iuh_Emulation_CT.create(id) alive;
connect(self:HNBAP[hnb_idx], vc_Iuh[hnb_idx]:HNBAP);

- vc_RUA[hnb_idx] := RUA_Emulation_CT.create(id & "-RUA");
+ vc_RUA[hnb_idx] := RUA_Emulation_CT.create(id & "-RUA") alive;
connect(vc_RUA[hnb_idx]:RUA, vc_Iuh[hnb_idx]:RUA);

/* Start Iuh side components */
@@ -476,7 +476,8 @@
if (ps_domain) {
msc_sgsn := "sgsn";
}
- f_ran_adapter_init(g_cn[cn_idx], mp_cn_cfg[cn_idx], "HNBGW_Test." & msc_sgsn & int2str(cn_nr), ranops);
+ f_ran_adapter_init(g_cn[cn_idx], mp_cn_cfg[cn_idx], "HNBGW_Test." & msc_sgsn & int2str(cn_nr),
+ ranops, create_alive := true);
f_ran_adapter_start(g_cn[cn_idx]);
}

@@ -491,7 +492,7 @@
T_guard.start(guard_timeout);
activate(as_Tguard());

- vc_mutex_disp := f_MutexDisp_start();
+ vc_mutex_disp := f_MutexDisp_start(create_alive := true);

f_init_statsd("VirtHNBGW", vc_STATSD, mp_local_statsd_ip, mp_local_statsd_port);
f_init_vty("VirtHNBGW");
@@ -627,7 +628,7 @@
var ConnHdlr vc_conn;
var charstring id := testcasename() & int2str(pars.hnb_idx);

- vc_conn := ConnHdlr.create(id);
+ vc_conn := ConnHdlr.create(id) alive;

/* Iuh RUA part */
connect(vc_conn:RUA, vc_RUA[pars.hnb_idx]:CLIENT);

To view, visit change 39487. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: If7ef1897adf3ef819314aa094ba78c526d77770f
Gerrit-Change-Number: 39487
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin@sysmocom.de>