Skip to content

Commit 7348f5c

Browse files
committed
test: increase timeout for gre/vxlan tunnel-ttl
Send 10 pings, expect at least one. The GRE test passes with two received ICMP messages on the Styx test rig, while the VXLAN test fails with -c 3, so try waiting a bit longer. Signed-off-by: Joachim Wiberg <[email protected]>
1 parent 70c12c3 commit 7348f5c

File tree

1 file changed

+2
-2
lines changed
  • test/case/ietf_interfaces/tunnel_ttl

1 file changed

+2
-2
lines changed

test/case/ietf_interfaces/tunnel_ttl/test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,14 +247,14 @@ def __init__(self):
247247
west_ns.addip(PC_WEST_HOST)
248248
west_ns.addroute("default", PC_WEST_R1)
249249

250-
# Send 3 pings with TTL=3, TTL is decremented before each
250+
# Send 10 pings with TTL=3, TTL is decremented before each
251251
# router hop. So at PC:west (TTL=3) -> R1 routed to GRE
252252
# tunnel (TTL=2) -> frame egresses tunnel -> R3 where it
253253
# is routed to PC:east (TTL=1).
254254
#
255255
# If outer TTL was inherited (TTL=2), packet would be
256256
# dropped at R3.
257-
west_ns.runsh(f"ping -c 3 -t {TEST_TTL} {PC_EAST_HOST}")
257+
west_ns.runsh(f"ping -c 10 -t {TEST_TTL} {PC_EAST_HOST}")
258258

259259
with test.step("Verify packets arrived at PC:east"):
260260
packets = pcap.tcpdump()

0 commit comments

Comments
 (0)