Change in osmo-ttcn3-hacks[master]: pcu: SNS: add TC_sns_1c1u_unconfigured_nsvc

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 Apr 6 14:01:49 UTC 2021


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


Change subject: pcu: SNS: add TC_sns_1c1u_unconfigured_nsvc
......................................................................

pcu: SNS: add TC_sns_1c1u_unconfigured_nsvc

There shouldn't any unconfigured NSVC after the configuration phase. The unconfigured
NSVC is used in the SNS configuration phase and must be removed when the configuration
is done and the NSVC is included in the configuration.

Related: SYS#5416
Change-Id: Iac6c8966aafd1cb2fab515de091e94607eb7c040
---
M pcu/PCU_Tests_SNS.ttcn
1 file changed, 11 insertions(+), 0 deletions(-)



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

diff --git a/pcu/PCU_Tests_SNS.ttcn b/pcu/PCU_Tests_SNS.ttcn
index b63b51e..20ab608 100644
--- a/pcu/PCU_Tests_SNS.ttcn
+++ b/pcu/PCU_Tests_SNS.ttcn
@@ -11,6 +11,7 @@
  */
 
 import from Osmocom_Types all;
+import from Osmocom_VTY_Functions all;
 import from PCU_Tests_NS all;
 import from SGSN_Components all;
 import from Osmocom_Gb_Types all;
@@ -220,6 +221,15 @@
 	f_clean_ns_codec();
 }
 
+/* Test full IP_SNS bring-up over an initial NS-VC with two NS-VCs */
+testcase TC_sns_1c1u_unconfigured_nsvc() runs on RAW_Test_CT {
+	f_init_vty(testcasename());
+	f_sns_bringup_1c1u_separate();
+	f_vty_transceive_not_match(PCUVTY, "show ns entities", pattern "*UNCONFIGURED*");
+	setverdict(pass);
+	f_clean_ns_codec();
+}
+
 /* Transmit BVC-RESET before NS-ALIVE of PCU was ACKed: expect no response */
 testcase TC_sns_1c1u_so_bvc_reset_too_early() runs on RAW_Test_CT {
 	/* Activate two NS codec ports */
@@ -371,6 +381,7 @@
 	execute( TC_sns_1c1u_separate() );
 	execute( TC_sns_1c1u_so_bvc_reset() );
 	execute( TC_sns_1c1u_so_bvc_reset_too_early() );
+	execute( TC_sns_1c1u_unconfigured_nsvc() );
 	execute( TC_sns_so_bvc_reset_unknown_bvci() );
 	execute( TC_sns_add() );
 	execute( TC_sns_add_nack() );

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/23655
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: Iac6c8966aafd1cb2fab515de091e94607eb7c040
Gerrit-Change-Number: 23655
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/20210406/5e8c6556/attachment.htm>


More information about the gerrit-log mailing list