net/if-mtu-change.sh: set longer timeout
PATCH 1/1 net/if-mtu-change.sh: set longer timeout
Default CHANGE_INTERVAL 5s caused test to be killed after introducing LTP_TIMEOUT_MUL to shell API.
TODO: set LTP_TIMEOUT_MUL based on CHANGE_INTERVAL.
Fixes fbea02ab5 ("lib/tst_test.sh: setup timeout per test run for the
shell tests")
Signed-off-by Petr Vorel <[email protected]>
--- testcases/network/stress/interface/if-mtu-change.sh | 2 ++ 1 file changed, 2 insertions(+)
testcases/network/stress/interface/if-mtu-change.sh +2 -0
@@ -5,6 +5,8 @@ # Copyright (c) International Business Machines Corp., 2005 # Author: Mitsuru Chinen <[email protected]> +LTP_TIMEOUT_MUL=${LTP_TIMEOUT_MUL:-2} + IF_CMD='ifconfig' TST_SETUP="do_setup" TST_CLEANUP="do_cleanup"
Signature · 1 line
2.22.1
PATCH 1/1 net/if-mtu-change.sh: set longer timeout
Hi,
Quoted 18 lines
Default
CHANGE_INTERVAL5s caused test to be killed after introducingLTP_TIMEOUT_MULto shell API.TODO: set
LTP_TIMEOUT_MULbased onCHANGE_INTERVAL.Fixes fbea02ab5 ("lib/tst_test.sh: setup timeout per test run for theshell tests")
Signed-off-by Petr Vorel <[email protected]>--- testcases/network/stress/interface/if-mtu-change.sh | 2 ++ 1 file changed, 2 insertions(+)testcases/network/stress/interface/if-mtu-change.sh +0
-0
testcases/network/stress/interface/if-mtu-change.sh line 8
Quoted 4 lines
testcases/network/stress/interface/if-mtu-change.sh +1
-0@@ -5,6 +5,8 @@ # Copyright (c) International Business Machines Corp., 2005 # Author: Mitsuru Chinen <[email protected]> +LTP_TIMEOUT_MUL=${LTP_TIMEOUT_MUL:-2}
This should wait, till we find a solution for int vs. float for shell [1] And check if user's value is not lower than minimal (2), as Li suggested in [1].
Kind regards,
Petr