Change in osmo-ttcn3-hacks[master]: ns: add TC_sns_sgsn_size_correct_port to check if SIZE_ACK is transmi...

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 Sep 7 12:42:51 UTC 2021


lynxis lazus has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25351 )

Change subject: ns: add TC_sns_sgsn_size_correct_port to check if SIZE_ACK is transmitted from the correct port
......................................................................

ns: add TC_sns_sgsn_size_correct_port to check if SIZE_ACK is transmitted from the correct port

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

Approvals:
  lynxis lazus: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve
  osmith: Looks good to me, but someone else must approve
  Jenkins Builder: Verified



diff --git a/ns/NS_Tests.ttcn b/ns/NS_Tests.ttcn
index a19477d..8553684 100644
--- a/ns/NS_Tests.ttcn
+++ b/ns/NS_Tests.ttcn
@@ -752,6 +752,20 @@
 	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();
+	f_init_ns_codec(mp_nsconfig);
+	f_init_ns_codec(mp_nsconfig, 1);
+	f_outgoing_sns_size(max_nsvcs := 10);
+	f_outgoing_sns_config();
+	f_incoming_sns_config();
+	NSCP[0].receive(t_NS_ALIVE);
+	f_outgoing_sns_size(max_nsvcs := 10, idx := 1);
+	setverdict(pass);
+	f_clean_ns_codec();
+}
+
 testcase TC_sns_sgsn_add() runs on RAW_Test_CT {
 	g_handle_rx_alive := true;
 	f_init_vty();
@@ -900,6 +914,7 @@
 			execute( TC_sns_sgsn_add() );
 			execute( TC_sns_sgsn_del() );
 			execute( TC_sns_sgsn_add_change_del() );
+			execute( TC_sns_sgsn_size_correct_port() );
 		}
 	}
 }

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25351
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: Ib0fbf0cc87ff8f00fd4062b471d7a4835b45723c
Gerrit-Change-Number: 25351
Gerrit-PatchSet: 2
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210907/5eb95cfb/attachment.htm>


More information about the gerrit-log mailing list