[XS] Change in osmo-ttcn3-hacks[master]: s1gw: Make components alive
pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37928?usp=email ) Change subject: s1gw: Make components alive ...................................................................... s1gw: Make components alive This helps avoiding getting errors during test tear down. TC_conn_term_mme_unavail needs to be modified since the port is kept alive after it is stopped, so test needs to be adapted. Change-Id: I538e31bf14836f81a6e3c0b844f9f70f1eaccb59 --- M s1gw/S1GW_Tests.ttcn 1 file changed, 2 insertions(+), 5 deletions(-) Approvals: fixeria: Looks good to me, approved Jenkins Builder: Verified diff --git a/s1gw/S1GW_Tests.ttcn b/s1gw/S1GW_Tests.ttcn index 5e2433e..1f4bb71 100644 --- a/s1gw/S1GW_Tests.ttcn +++ b/s1gw/S1GW_Tests.ttcn @@ -61,7 +61,7 @@ local_port := 36412 }; - vc_S1APSRV := S1AP_Server_CT.create("S1APSRV-" & testcasename()); + vc_S1APSRV := S1AP_Server_CT.create("S1APSRV-" & testcasename()) alive; vc_S1APSRV.start(S1AP_Server.main(cpars)); } @@ -69,7 +69,7 @@ runs on test_CT return ConnHdlr { var ConnHdlr vc_conn; - vc_conn := ConnHdlr.create("ConnHdlr-" & testcasename()); + vc_conn := ConnHdlr.create("ConnHdlr-" & testcasename()) alive; if (vc_S1APSRV.running) { connect(vc_conn:S1AP_CONN, vc_S1APSRV:S1AP_CLIENT); connect(vc_conn:S1AP_PROC, vc_S1APSRV:S1AP_PROC); @@ -157,9 +157,6 @@ var ConnHdlr vc_conn; f_init(); - f_init_s1ap_srv(); - vc_S1APSRV.stop; - vc_S1APSRV.done; vc_conn := f_ConnHdlr_spawn(refers(f_TC_conn_term_mme_unavail), pars); vc_conn.done; -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37928?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I538e31bf14836f81a6e3c0b844f9f70f1eaccb59 Gerrit-Change-Number: 37928 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: pespin <pespin@sysmocom.de>
participants (1)
-
pespin