pespin has uploaded this change for review. ( 
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(-)



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

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: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ica53d956ee8aed760854d3148af170144234e6b2
Gerrit-Change-Number: 38953
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>

Reply via email to