diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2018-08-07 15:45:04 +0200 |
---|---|---|
committer | Alexander Couzens <lynxis@fe80.eu> | 2018-09-04 18:24:52 +0200 |
commit | fa0a75fc378be04d49820598bd8d5185c8c4bf74 (patch) | |
tree | 038caedd7afd0720ed0e29e8bc7e3572f76a7ffe | |
parent | d81876a3ff2281cecfa9f52a2f3e6accf318a204 (diff) |
sgsn: fix TC_attach_check_complete_resend
TC_attach_check_complete_resend tests if the SGSN sends out the SGSN
Attach Accept multiple times. If the MS disappear,
there is no need for a ATTACH REJECT.
Change-Id: I3fa5c100b8389e184acf1e71e2792e5474c22dec
-rw-r--r-- | sgsn/SGSN_Tests.ttcn | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn index 66319b5e..8094866f 100644 --- a/sgsn/SGSN_Tests.ttcn +++ b/sgsn/SGSN_Tests.ttcn @@ -1821,13 +1821,16 @@ private function f_TC_attach_check_complete_resend(charstring id) runs on BSSGP_ f_send_l3_gmm_llc(ts_GMM_ATTACH_REQ(f_mi_get_lv(), f_random_RAI(), true, false, omit, omit)); f_gmm_auth(); + timer T := 10.0; + T.start; alt { - [] BSSGP[0].receive(tr_BD_L3_MT(tr_GMM_ATTACH_REJECT(?))) { + [] T.timeout { /* break */ } [] BSSGP[0].receive(tr_BD_L3_MT(tr_GMM_ATTACH_ACCEPT(*, *, *))) { /* ignore */ count_req := count_req + 1; + T.start; repeat; } } |