osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/31676 )
Change subject: bsc-sccplite: fix TC_ho_in_fail_mgw_mdcx_timeout ......................................................................
bsc-sccplite: fix TC_ho_in_fail_mgw_mdcx_timeout
Make the test pass with sccplite too.
Related: OS#5787 Fixes: 7a8594a8 ("bsc: TC_ho_in_fail_mgw_mdcx_timeout: new test") Change-Id: If09c0ab5f668aefe262905bbd4f8c676f3b05fd3 --- M bsc/BSC_Tests.ttcn 1 file changed, 22 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/76/31676/1
diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn index ebcd576..98f60ef 100644 --- a/bsc/BSC_Tests.ttcn +++ b/bsc/BSC_Tests.ttcn @@ -6374,11 +6374,16 @@
/* When we let MGCP MDCX run into a timeout, it's still in the * queue and additionally after BSSAP HandoverFailure, two DLCX - * get sent. */ + * get sent (for AoIP, for SCCPlite one DLCX). */ if (g_pars.ignore_mgw_mdcx) { - MGCP.receive(tr_MDCX); - MGCP.receive(tr_DLCX); - MGCP.receive(tr_DLCX); + if (g_pars.aoip) { + MGCP.receive(tr_MDCX); + MGCP.receive(tr_DLCX); + MGCP.receive(tr_DLCX); + } else { + MGCP_MULTI.receive(tr_MGCP_RecvFrom_any({command := tr_MDCX})); + MGCP_MULTI.receive(tr_MGCP_RecvFrom_any({command := tr_DLCX})); + } } return; }