From 677ef6a5e33dee1c827b0c35aafb3a1c04513825 Mon Sep 17 00:00:00 2001 From: Pim van Pelt Date: Sun, 5 Apr 2026 17:41:06 +0200 Subject: [PATCH] Faster ping interval, faster test results --- tests/01-vpp-bird/01-e2e-lab.robot | 2 +- tests/02-vpp-frr/01-e2e-lab.robot | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/01-vpp-bird/01-e2e-lab.robot b/tests/01-vpp-bird/01-e2e-lab.robot index 797b5d0..fa5cc1c 100644 --- a/tests/01-vpp-bird/01-e2e-lab.robot +++ b/tests/01-vpp-bird/01-e2e-lab.robot @@ -47,7 +47,7 @@ Check OSPF IPv6 Adjacency Ensure client1 can ping client2 ${rc} ${output} = Run And Return Rc And Output - ... ${CLAB_BIN} --runtime ${runtime} exec -t ${CURDIR}/${lab-file-name} --label clab-node-name\=client1 --cmd "ping -c 5 10.82.98.82" + ... ${CLAB_BIN} --runtime ${runtime} exec -t ${CURDIR}/${lab-file-name} --label clab-node-name\=client1 --cmd "ping -c 5 -i 0.01 10.82.98.82" Log ${output} Should Be Equal As Integers ${rc} 0 Should Contain ${output} 5 packets transmitted, 4 packets received, 20% packet loss diff --git a/tests/02-vpp-frr/01-e2e-lab.robot b/tests/02-vpp-frr/01-e2e-lab.robot index a2626e3..65ee06e 100644 --- a/tests/02-vpp-frr/01-e2e-lab.robot +++ b/tests/02-vpp-frr/01-e2e-lab.robot @@ -47,7 +47,7 @@ Check OSPF IPv6 Adjacency Ensure client1 can ping client2 ${rc} ${output} = Run And Return Rc And Output - ... ${CLAB_BIN} --runtime ${runtime} exec -t ${CURDIR}/${lab-file-name} --label clab-node-name\=client1 --cmd "ping -c 5 10.82.98.82" + ... ${CLAB_BIN} --runtime ${runtime} exec -t ${CURDIR}/${lab-file-name} --label clab-node-name\=client1 --cmd "ping -c 5 -i 0.01 10.82.98.82" Log ${output} Should Be Equal As Integers ${rc} 0 Should Contain ${output} 5 packets transmitted, 4 packets received, 20% packet loss