pespin has uploaded this change for review.
ttcn3-ggsn: Speed up tests by lowering retransmission T3,N3 timers
Every test needs to wait for T3*N3 seconds before exiting in order to
make sure the queues waiting for duplicates are cleared, otherwise state
from previous state may affect next tests.
Since 1.10.0, osmo-ggsn supports having those timers changed through
VTY. Let's set them to a lower value than default specified by spec, in
order to speed up each test 15 seconds -> 2 seconds.
Only ttcn3-ggsn (against osmo-ggsn) and not ttcn3-ggsn-ogs (against
open5gs-smfd) is updated, since the later doesn't support changing the
default timer values using the config files yet.
Related: OS#5485
Change-Id: Ica346bd791a67b72fad597702d750383e8ac5895
---
M ttcn3-ggsn-test/GGSN_Tests.cfg
M ttcn3-ggsn-test/osmo-ggsn.cfg
2 files changed, 29 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/84/32284/1
diff --git a/ttcn3-ggsn-test/GGSN_Tests.cfg b/ttcn3-ggsn-test/GGSN_Tests.cfg
index 36603c8..cb548b3 100644
--- a/ttcn3-ggsn-test/GGSN_Tests.cfg
+++ b/ttcn3-ggsn-test/GGSN_Tests.cfg
@@ -19,5 +19,10 @@
GGSN_Tests.m_ggsn_ip4_dns1 := "172.18.3.201"
GGSN_Tests.m_ggsn_ip6_dns1 := "fd02:db8:3::201"
+# local T3-RESPONSE timeout, seconds:
+GGSN_Tests.mp_t3_response := 1
+# local N3-REQUESTS counter:
+GGSN_Tests.mp_n3_requests := 2
+
[EXECUTE]
GGSN_Tests.control
diff --git a/ttcn3-ggsn-test/osmo-ggsn.cfg b/ttcn3-ggsn-test/osmo-ggsn.cfg
index b27a6e4..2f09990 100644
--- a/ttcn3-ggsn-test/osmo-ggsn.cfg
+++ b/ttcn3-ggsn-test/osmo-ggsn.cfg
@@ -44,6 +44,9 @@
ggsn ggsn0
gtp state-dir /tmp
gtp bind-ip 172.18.3.201
+ timer gtp T3 1
+ timer gtp T1003 2
+ timer gtp X3 2
apn internet
gtpu-mode tun
tun-device tun4
To view, visit change 32284. To unsubscribe, or for help writing mail filters, visit settings.