Skip to content

Commit 24f54c5

Browse files
daniellertsdavem330
authored andcommitted
selftests: forwarding: Fix mausezahn delay parameter in mirror_test()
Currently, mausezahn delay parameter in mirror_test() is specified with 'ms' units. mausezahn versions before 0.6.5 interpret 'ms' as seconds and therefore the tests that use mirror_test() take a very long time to complete. Resolve this by specifying 'msec' units. Signed-off-by: Danielle Ratson <[email protected]> Reviewed-by: Petr Machata <[email protected]> Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent b36cca0 commit 24f54c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/net/forwarding/mirror_lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ mirror_test()
3131

3232
local t0=$(tc_rule_stats_get $dev $pref)
3333
$MZ $vrf_name ${sip:+-A $sip} -B $dip -a own -b bc -q \
34-
-c 10 -d 100ms -t icmp type=8
34+
-c 10 -d 100msec -t icmp type=8
3535
sleep 0.5
3636
local t1=$(tc_rule_stats_get $dev $pref)
3737
local delta=$((t1 - t0))

0 commit comments

Comments
 (0)