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

laforge gerrit-no-reply at lists.osmocom.org
Mon Apr 12 08:20:42 UTC 2021


laforge has submitted this change. ( 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(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



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-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210412/3962e72f/attachment.htm>


More information about the gerrit-log mailing list