]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tools/selftests: Use a sensible timeout value for iperf3 client
authorCosmin Ratiu <cratiu@nvidia.com>
Wed, 22 Apr 2026 14:06:46 +0000 (17:06 +0300)
committerSteffen Klassert <steffen.klassert@secunet.com>
Tue, 28 Apr 2026 04:47:18 +0000 (06:47 +0200)
commitada95e5e603bc6e353ee029f2ba7a7d9a42ad018
treea246370ae26abb57d7b4140d489f038f6725386b
parentec54093e6a8f87e800bb6aa15eb7fc1e33faa524
tools/selftests: Use a sensible timeout value for iperf3 client

The default timeout of cmd() is 5 seconds and Iperf3Runner requests the
iperf3 client to run for 10 seconds, which clearly doesn't work since
commit [1] enforced the timeout parameter.

Use a value derived from duration as timeout (+5 seconds for
startup/teardown/various other overhead).

[1] commit f0bd19316663 ("selftests: net: fix timeout passed as positional argument to communicate()")
Signed-off-by: Cosmin Ratiu <cratiu@nvidia.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
tools/testing/selftests/drivers/net/lib/py/load.py