summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-06-15 14:22:28 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2019-06-15 14:46:17 +0700
commit851798c05120bf605aee062d230355cae338fbc3 (patch)
tree7455e6e991212d1f8a3d205550d27d4b4681e265
parentd1e1ce592dc7e1a47b6f8f7ef15c66a275f48f47 (diff)
MSC_Tests.ttcn: use f_expect_gsup_msg() in f_tc_mt_ussd_for_unknown_subscr()
-rw-r--r--msc/MSC_Tests.ttcn13
1 files changed, 1 insertions, 12 deletions
diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn
index b66323b..b8f9fd7 100644
--- a/msc/MSC_Tests.ttcn
+++ b/msc/MSC_Tests.ttcn
@@ -3474,7 +3474,6 @@ friend function f_tc_mt_ussd_for_unknown_subscr(charstring id, BSC_ConnHdlrPars
runs on BSC_ConnHdlr {
var hexstring imsi := '000000000000000'H; /* Some unknown IMSI */
var OCT4 sid := '20000222'O;
- timer T := 2.0;
f_init_handler(pars);
f_ran_register_imsi(imsi, 'FFFFFFFF'O);
@@ -3499,17 +3498,7 @@ runs on BSC_ConnHdlr {
GSUP.send(gsup_req);
/* Expect GSUP PROC_SS_ERROR message */
- T.start;
- alt {
- [] GSUP.receive(gsup_rsp) {
- setverdict(pass);
- };
- [] T.timeout {
- setverdict(fail, "Timeout waiting for GSUP PROC_SS_ERROR message");
- }
- /* We don't expect anything else */
- [] as_unexp_gsup_or_bssap_msg();
- }
+ f_expect_gsup_msg(gsup_rsp);
}
testcase TC_mt_ussd_for_unknown_subscr() runs on MTC_CT {
var BSC_ConnHdlr vc_conn;