Change in ...docker-playground[master]: ttcn3-ggsn: Disable echo-timer test when running against latest

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/.

pespin gerrit-no-reply at lists.osmocom.org
Fri Aug 23 17:20:41 UTC 2019


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/docker-playground/+/15284


Change subject: ttcn3-ggsn: Disable echo-timer test when running against latest
......................................................................

ttcn3-ggsn: Disable echo-timer test when running against latest

Change-Id: I6657eefed00df96e3bcdca174a6ea0be1897b762
---
M ttcn3-ggsn-test/GGSN_Tests.cfg
M ttcn3-ggsn-test/jenkins.sh
2 files changed, 6 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/84/15284/1

diff --git a/ttcn3-ggsn-test/GGSN_Tests.cfg b/ttcn3-ggsn-test/GGSN_Tests.cfg
index 064bf37..11c22cb 100644
--- a/ttcn3-ggsn-test/GGSN_Tests.cfg
+++ b/ttcn3-ggsn-test/GGSN_Tests.cfg
@@ -18,5 +18,7 @@
 # GGSN announced DNS address
 GGSN_Tests.m_ggsn_ip4_dns1 := "172.18.3.201"
 
+GGSN_Tests.m_ggsn_supports_echo_interval := true;
+
 [EXECUTE]
 GGSN_Tests.control
diff --git a/ttcn3-ggsn-test/jenkins.sh b/ttcn3-ggsn-test/jenkins.sh
index 4250e4d..c4fac9d 100755
--- a/ttcn3-ggsn-test/jenkins.sh
+++ b/ttcn3-ggsn-test/jenkins.sh
@@ -10,6 +10,10 @@
 
 mkdir $VOL_BASE_DIR/ggsn-tester
 cp GGSN_Tests.cfg $VOL_BASE_DIR/ggsn-tester/
+# VTY command "(no) echo-interval" must be disabled until osmo-ggsn.git release > 1.4.0 is available.
+if [ "$IMAGE_SUFFIX" = "latest" ]; then
+	sed "s/GGSN_Tests.m_ggsn_supports_echo_interval := true;/GGSN_Tests.m_ggsn_supports_echo_interval := false;/g" -i $VOL_BASE_DIR/ggsn-tester/GGSN_Tests.cfg
+fi
 
 mkdir $VOL_BASE_DIR/ggsn
 cp osmo-ggsn.cfg $VOL_BASE_DIR/ggsn/

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

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I6657eefed00df96e3bcdca174a6ea0be1897b762
Gerrit-Change-Number: 15284
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190823/bfb486df/attachment.htm>


More information about the gerrit-log mailing list