aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-08-23 19:19:11 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-08-23 19:19:37 +0200
commit6b7cab9a47d311317f1d067c689dbded30154499 (patch)
treefb9123d553944316704268868e1b458861ec622c
parent5f98d0120a5fa2b05456971d0792b4d631a12472 (diff)
ttcn3-ggsn: Disable echo-timer test when running against latest
-rw-r--r--ttcn3-ggsn-test/GGSN_Tests.cfg2
-rwxr-xr-xttcn3-ggsn-test/jenkins.sh4
2 files changed, 6 insertions, 0 deletions
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_Tests.m_ggsn_ip_gtpu := "172.18.3.201"
# 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 @@ docker_images_require \
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/