pespin has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/42023?usp=email )
Change subject: hnbgw: Fix race condition in TC_stat_stp_sctp_disconnected
......................................................................
hnbgw: Fix race condition in TC_stat_stp_sctp_disconnected
It can happen that first time check for sgsn/msc state they are still
connecting to stp (M3UA) or to ttcn3 process (SCCP/RANAP).
Use wait_converge=true to simply wait until they are conncted.
Change-Id: I15a6a9b9cf47f95d88bca75d0c6f88547f1dad40
---
M hnbgw/HNBGW_Tests.ttcn
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks
refs/changes/23/42023/1
diff --git a/hnbgw/HNBGW_Tests.ttcn b/hnbgw/HNBGW_Tests.ttcn
index 2a55eb6..f679205 100644
--- a/hnbgw/HNBGW_Tests.ttcn
+++ b/hnbgw/HNBGW_Tests.ttcn
@@ -2673,7 +2673,7 @@
{name := msc0_prefix & "connected", mtype := "g", min := 0, max
:= 0},
{name := sgsn0_prefix & "connected", mtype := "g", min := 0,
max := 0}
};
- f_statsd_expect(expect_connected);
+ f_statsd_expect(expect_connected, wait_converge := true);
disconnect(self:STATSD_PROC, vc_STATSD:STATSD_PROC);
vc_conn := f_start_handler_with_pars(refers(f_tc_rab_assignment),
f_TestHdlrParams(3));
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/42023?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: I15a6a9b9cf47f95d88bca75d0c6f88547f1dad40
Gerrit-Change-Number: 42023
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>