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
Review at https://gerrit.osmocom.org/7988
sgsn: add test for attach_second_attempt
Do an attach direct after an attach succeeded.
Relates: OS#2958
Change-Id: I767c3e3b0af6e7c6a1f9436fd17e2f515b0bbd05
---
M sgsn/SGSN_Tests.ttcn
1 file changed, 19 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/88/7988/1
diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn
index bccee7f..adf87f2 100644
--- a/sgsn/SGSN_Tests.ttcn
+++ b/sgsn/SGSN_Tests.ttcn
@@ -1228,6 +1228,24 @@
vc_conn.done;
}
+/* ATTACH + ATTACH (2nd) */
+private function f_TC_attach_forget_tlli_attach(charstring id) runs on BSSGP_ConnHdlr {
+ g_pars.t_guard := 5.0;
+
+ /* first perform regular attach */
+ f_TC_attach(id);
+
+ /* second to perform regular attach */
+ f_TC_attach(id);
+}
+
+
+testcase TC_attach_second_attempt() runs on test_CT {
+ var BSSGP_ConnHdlr vc_conn;
+ f_init();
+ vc_conn := f_start_handler(refers(f_TC_attach_forget_tlli_attach), testcasename(), g_gb[0], 22);
+ vc_conn.done;
+}
control {
@@ -1255,6 +1273,7 @@
execute( TC_attach_pdp_act_ggsn_reject() );
execute( TC_attach_pdp_act_user_deact_mo() );
execute( TC_attach_pdp_act_user_deact_mt() );
+ execute( TC_attach_second_attempt() );
}
--
To view, visit https://gerrit.osmocom.org/7988
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I767c3e3b0af6e7c6a1f9436fd17e2f515b0bbd05
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>