[S] Change in osmo-ttcn3-hacks[master]: hnbgw: TC_rab_release: Fix race condition stats checked too early
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38953?usp=email ) Change subject: hnbgw: TC_rab_release: Fix race condition stats checked too early ...................................................................... hnbgw: TC_rab_release: Fix race condition stats checked too early It could happen sometimes that the stats report was requested before the hnbgw received the message increasing the counter. Change-Id: Ica53d956ee8aed760854d3148af170144234e6b2 --- M hnbgw/HNBGW_Tests.ttcn 1 file changed, 5 insertions(+), 5 deletions(-) Approvals: Jenkins Builder: Verified fixeria: Looks good to me, but someone else must approve laforge: Looks good to me, approved diff --git a/hnbgw/HNBGW_Tests.ttcn b/hnbgw/HNBGW_Tests.ttcn index 3db72bf..ab6a09e 100644 --- a/hnbgw/HNBGW_Tests.ttcn +++ b/hnbgw/HNBGW_Tests.ttcn @@ -1226,11 +1226,6 @@ tx := valueof(ts_RANAP_RabAssReq(rab_rl := ts_RAB_RL(t_RAB_id(23), g_pars.rab_rel_cause))); BSSAP.send(tx); - expect := { - {name := hnb0_ctr_prefix & ctr_name, mtype := "c", min := 1, max := 1} - }; - f_statsd_expect(expect); - T.start; alt { @@ -1242,6 +1237,11 @@ T.stop; f_rua_expect(tx); + + expect := { + {name := hnb0_ctr_prefix & ctr_name, mtype := "c", min := 1, max := 1} + }; + f_statsd_expect(expect); } /* RAB release with Cause NAS/Normal (successful/orderly release) */ -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38953?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: Ica53d956ee8aed760854d3148af170144234e6b2 Gerrit-Change-Number: 38953 Gerrit-PatchSet: 2 Gerrit-Owner: pespin <pespin@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: laforge <laforge@osmocom.org>
participants (1)
-
laforge