Change in osmo-ttcn3-hacks[master]: sgsn: fix TC_attach_check_complete_resend

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

lynxis lazus gerrit-no-reply at lists.osmocom.org
Tue Aug 7 17:56:39 UTC 2018


lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/10390


Change subject: sgsn: fix TC_attach_check_complete_resend
......................................................................

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
---
M sgsn/SGSN_Tests.ttcn
1 file changed, 4 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/90/10390/1

diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn
index dcfefaf..43c297e 100644
--- a/sgsn/SGSN_Tests.ttcn
+++ b/sgsn/SGSN_Tests.ttcn
@@ -1793,13 +1793,16 @@
 	f_send_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;
 		}
 	}

-- 
To view, visit https://gerrit.osmocom.org/10390
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3fa5c100b8389e184acf1e71e2792e5474c22dec
Gerrit-Change-Number: 10390
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180807/038775d0/attachment.htm>


More information about the gerrit-log mailing list