Change in docker-playground[master]: ttcn3-bsc: Disable dyn TS SDCCH8 tests for latest

pespin gerrit-no-reply at lists.osmocom.org
Thu Jul 22 10:57:30 UTC 2021


pespin has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/24969 )

Change subject: ttcn3-bsc: Disable dyn TS SDCCH8 tests for latest
......................................................................

ttcn3-bsc: Disable dyn TS SDCCH8 tests for latest

With this we'll avoid running the test in latest. This way we'll not
fail after changing the TS for the test and hence other tests won't be
affected.

Related: SYS#5309

Change-Id: If941c110501cd5f9c1d5084cc4d054e1eafb14f4
---
M ttcn3-bsc-test/BSC_Tests.cfg
M ttcn3-bsc-test/jenkins-sccplite.sh
M ttcn3-bsc-test/jenkins.sh
M ttcn3-bsc-test/sccplite/BSC_Tests.cfg
4 files changed, 12 insertions(+), 0 deletions(-)

Approvals:
  pespin: Looks good to me, approved; Verified
  osmith: Looks good to me, but someone else must approve



diff --git a/ttcn3-bsc-test/BSC_Tests.cfg b/ttcn3-bsc-test/BSC_Tests.cfg
index ad189c9..7620eb7 100644
--- a/ttcn3-bsc-test/BSC_Tests.cfg
+++ b/ttcn3-bsc-test/BSC_Tests.cfg
@@ -13,6 +13,7 @@
 BSC_Tests.mp_bsc_ip   := "172.18.2.20";
 BSC_Tests.mp_test_ip   := "172.18.2.203";
 BSC_Tests.mp_enable_osmux_test := true;
+BSC_Tests.mp_enable_dyn_sdcch8_test := true;
 BSC_Tests.mp_bssap_cfg := {
 	{
 		transport := BSSAP_TRANSPORT_AoIP,
diff --git a/ttcn3-bsc-test/jenkins-sccplite.sh b/ttcn3-bsc-test/jenkins-sccplite.sh
index bc6eaa0..7fb0525 100755
--- a/ttcn3-bsc-test/jenkins-sccplite.sh
+++ b/ttcn3-bsc-test/jenkins-sccplite.sh
@@ -16,6 +16,11 @@
 mkdir $VOL_BASE_DIR/bsc-tester
 cp sccplite/BSC_Tests.cfg $VOL_BASE_DIR/bsc-tester/
 
+# Dynamic TS SDCCH8 must be disabled until release AFTER osmo-bsc 1.7.0 is tagged
+if image_suffix_is_latest; then
+	sed "s/BSC_Tests.mp_enable_dyn_sdcch8_test := true;/BSC_Tests.mp_enable_dyn_sdcch8_test := false;/g" -i $VOL_BASE_DIR/bsc-tester/BSC_Tests.cfg
+fi
+
 mkdir $VOL_BASE_DIR/bsc
 cp sccplite/osmo-bsc.cfg $VOL_BASE_DIR/bsc/
 
diff --git a/ttcn3-bsc-test/jenkins.sh b/ttcn3-bsc-test/jenkins.sh
index 18236a2..dfa1f6f 100755
--- a/ttcn3-bsc-test/jenkins.sh
+++ b/ttcn3-bsc-test/jenkins.sh
@@ -14,6 +14,11 @@
 mkdir $VOL_BASE_DIR/bsc-tester
 cp BSC_Tests.cfg $VOL_BASE_DIR/bsc-tester/
 
+# Dynamic TS SDCCH8 must be disabled until release AFTER osmo-bsc 1.7.0 is tagged
+if image_suffix_is_latest; then
+	sed "s/BSC_Tests.mp_enable_dyn_sdcch8_test := true;/BSC_Tests.mp_enable_dyn_sdcch8_test := false;/g" -i $VOL_BASE_DIR/bsc-tester/BSC_Tests.cfg
+fi
+
 mkdir $VOL_BASE_DIR/stp
 cp osmo-stp.cfg $VOL_BASE_DIR/stp/
 
diff --git a/ttcn3-bsc-test/sccplite/BSC_Tests.cfg b/ttcn3-bsc-test/sccplite/BSC_Tests.cfg
index f1f02d6..b77537f 100644
--- a/ttcn3-bsc-test/sccplite/BSC_Tests.cfg
+++ b/ttcn3-bsc-test/sccplite/BSC_Tests.cfg
@@ -13,6 +13,7 @@
 BSC_Tests.mp_bsc_ip   := "172.18.12.20";
 BSC_Tests.mp_test_ip   := "172.18.12.203";
 BSC_Tests.mp_enable_osmux_test := true;
+BSC_Tests.mp_enable_dyn_sdcch8_test := true;
 BSC_Tests.mp_bssap_cfg := {
 	{
 		transport := BSSAP_TRANSPORT_SCCPlite_SERVER,

-- 
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/24969
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: If941c110501cd5f9c1d5084cc4d054e1eafb14f4
Gerrit-Change-Number: 24969
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: dexter <pmaier at sysmocom.de>
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/20210722/eeef75cd/attachment.htm>


More information about the gerrit-log mailing list