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

laforge gerrit-no-reply at lists.osmocom.org
Thu Aug 29 05:42:54 UTC 2019


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

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



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-Reviewer: laforge <laforge at gnumonks.org>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190829/811ff2f4/attachment.html>


More information about the gerrit-log mailing list