osmith has submitted this change. (
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(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, approved
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;
}
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/31676
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: If09c0ab5f668aefe262905bbd4f8c676f3b05fd3
Gerrit-Change-Number: 31676
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: merged