summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2021-04-06 15:57:05 +0200
committerAlexander Couzens <lynxis@fe80.eu>2021-04-06 15:57:51 +0200
commit3efa501b0d36bb94197ff7f4b24ef034b58ad20a (patch)
tree3ea293109f0d6eea940746e365256ef608b544fc
parent8094254ff973fb0663a82988ed3a20484c1c780c (diff)
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
-rw-r--r--pcu/PCU_Tests_SNS.ttcn11
1 files changed, 11 insertions, 0 deletions
diff --git a/pcu/PCU_Tests_SNS.ttcn b/pcu/PCU_Tests_SNS.ttcn
index b63b51e1..20ab6082 100644
--- a/pcu/PCU_Tests_SNS.ttcn
+++ b/pcu/PCU_Tests_SNS.ttcn
@@ -11,6 +11,7 @@ module PCU_Tests_SNS {
*/
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 @@ testcase TC_sns_1c1u_so_bvc_reset() runs on RAW_Test_CT {
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 @@ control {
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() );