Change in osmo-ttcn3-hacks[master]: ns: add test case for SIZE after a successful configuration

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
Mon Sep 6 15:48:32 UTC 2021


lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25382 )


Change subject: ns: add test case for SIZE after a successful configuration
......................................................................

ns: add test case for SIZE after a successful configuration

Change-Id: I5a7d55e9b3d28872baa4259f33333db8c0d6081d
---
M ns/NS_Tests.ttcn
1 file changed, 17 insertions(+), 0 deletions(-)



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

diff --git a/ns/NS_Tests.ttcn b/ns/NS_Tests.ttcn
index c3247fc..3d7b31a 100644
--- a/ns/NS_Tests.ttcn
+++ b/ns/NS_Tests.ttcn
@@ -827,6 +827,22 @@
 	f_clean_ns_codec();
 }
 
+/* Ensure a SIZE after a success full configuration is handled */
+testcase TC_sns_sgsn_size_after_success() runs on RAW_Test_CT {
+	f_init_vty();
+	f_init_ns_codec(mp_nsconfig);
+	f_outgoing_sns_size();
+	f_outgoing_sns_config();
+	f_incoming_sns_config();
+	NSCP[0].receive(t_NS_ALIVE);
+
+	f_outgoing_sns_size();
+	f_outgoing_sns_config();
+	f_incoming_sns_config();
+	setverdict(pass);
+	f_clean_ns_codec();
+}
+
 /* Ensure a SNS SIZE ACK is transmitted from the correct port */
 testcase TC_sns_sgsn_size_correct_port() runs on RAW_Test_CT {
 	f_init_vty();
@@ -1014,6 +1030,7 @@
 			execute( TC_sns_sgsn_del() );
 			execute( TC_sns_sgsn_add_change_del() );
 			execute( TC_sns_sgsn_size_correct_port() );
+			execute( TC_sns_sgsn_size_after_success() );
 		}
 	}
 }

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25382
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

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


More information about the gerrit-log mailing list