Change in osmo-ttcn3-hacks[master]: sgsn: introduce TC_attach_rau_a_a()

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:36 UTC 2018


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


Change subject: sgsn: introduce TC_attach_rau_a_a()
......................................................................

sgsn: introduce TC_attach_rau_a_a()

MS <-> SGSN: Successful Attach
MS  -> SGSN: Routing Area Update Request
MS <-  SGSN: Routing Area Update Accept
MS  -> SGSN: Routing Area Update Request
MS <-  SGSN: Routing Area Update Accept
MS  -> SGSN: Detach (PowerOff)

Change-Id: Id76b4792c07816bcbe5e965f23c2b526df0923c3
---
M sgsn/SGSN_Tests.ttcn
1 file changed, 31 insertions(+), 0 deletions(-)



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

diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn
index 839fe3a..ab6f651 100644
--- a/sgsn/SGSN_Tests.ttcn
+++ b/sgsn/SGSN_Tests.ttcn
@@ -1814,6 +1814,36 @@
 	}
 }
 
+private function f_TC_attach_rau_a_a(charstring id) runs on BSSGP_ConnHdlr {
+	var BssgpDecoded bd;
+
+	/* first perform regular attach */
+	f_TC_attach(id);
+
+	/* then send RAU */
+	f_routing_area_update(g_pars.ra);
+
+	/* do another RAU */
+	f_routing_area_update(g_pars.ra);
+
+	f_detach_mo(c_GMM_DTT_MO_GPRS, true, true);
+}
+
+testcase TC_attach_rau_a_a() runs on test_CT {
+	/* MS <-> SGSN: Successful Attach
+	 * MS  -> SGSN: Routing Area Update Request
+	 * MS <-  SGSN: Routing Area Update Accept
+	 * MS  -> SGSN: Routing Area Update Request
+	 * MS <-  SGSN: Routing Area Update Accept
+	 * MS  -> SGSN: Detach (PowerOff)
+	 */
+	var BSSGP_ConnHdlr vc_conn;
+	f_init();
+	f_sleep(1.0);
+	vc_conn := f_start_handler(refers(f_TC_attach_rau_a_a), testcasename(), g_gb, 37);
+	vc_conn.done;
+}
+
 control {
 	execute( TC_attach() );
 	execute( TC_attach_mnc3() );
@@ -1839,6 +1869,7 @@
 	execute( TC_hlr_location_cancel_request_unknown_subscriber_update(), 10.0 );
 	execute( TC_rau_unknown() );
 	execute( TC_attach_rau() );
+	execute( TC_attach_rau_a_a() );
 	execute( TC_detach_unknown_nopoweroff() );
 	execute( TC_detach_unknown_poweroff() );
 	execute( TC_detach_nopoweroff() );

-- 
To view, visit https://gerrit.osmocom.org/10380
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: Id76b4792c07816bcbe5e965f23c2b526df0923c3
Gerrit-Change-Number: 10380
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/3cc7e2a1/attachment.htm>


More information about the gerrit-log mailing list