aboutsummaryrefslogtreecommitdiffstats
path: root/bsc
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2023-03-06 12:31:53 +0100
committerOliver Smith <osmith@sysmocom.de>2023-03-06 12:33:51 +0100
commit30eb882b84c36981be5d9b220bb199c5ffd85f14 (patch)
tree6016f02e15e7eefe437b12d1da333d4596abfe3a /bsc
parent99b7d40e7b1921816d84cbb41d582e1105a170d1 (diff)
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
Diffstat (limited to 'bsc')
-rw-r--r--bsc/BSC_Tests.ttcn13
1 files changed, 9 insertions, 4 deletions
diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index ebcd576b..98f60ef8 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -6374,11 +6374,16 @@ private function f_ho_into_this_bsc(charstring id, template (omit) BSSMAP_oldToN
/* 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;
}