summaryrefslogtreecommitdiffstats
path: root/sgsn
diff options
context:
space:
mode:
Diffstat (limited to 'sgsn')
-rw-r--r--sgsn/SGSN_Tests.ttcn11
1 files changed, 10 insertions, 1 deletions
diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn
index 0a20dd6..ce796e8 100644
--- a/sgsn/SGSN_Tests.ttcn
+++ b/sgsn/SGSN_Tests.ttcn
@@ -979,11 +979,20 @@ function f_pdp_ctx_deact_mt(inout PdpActPars apars, boolean error_ind := false)
} else {
GTP.send(ts_GTPC_DeletePDP(peer, seq_nr, apars.sgsn_tei_c, apars.nsapi, '1'B));
}
+
+ timer T := 5.0;
+ T.start;
+
alt {
[] BSSGP.receive(tr_BD_L3_MT(tr_SM_DEACT_PDP_REQ_MT(apars.tid, ?, true))) {
BSSGP.send(ts_SM_DEACT_PDP_ACCEPT_MO(apars.tid));
}
- [not error_ind] GTP.receive(tr_GTPC_MsgType(?, deletePDPContextResponse, apars.ggsn_tei_c)) { }
+ [not error_ind] GTP.receive(tr_GTPC_MsgType(?, deletePDPContextResponse, apars.ggsn_tei_c)) {
+ repeat;
+ }
+ [] T.timeout {
+ setverdict(fail, "Waiting for SM_DEACT_PDP_REQ_MT");
+ }
}
}