]> Git Repo - J-linux.git/commitdiff
selftests: netdevsim: set test timeout to 10 minutes
authorJakub Kicinski <[email protected]>
Mon, 25 Mar 2024 15:56:11 +0000 (08:56 -0700)
committerDavid S. Miller <[email protected]>
Wed, 27 Mar 2024 11:29:27 +0000 (11:29 +0000)
The longest running netdevsim test, nexthop.sh, currently takes
5 min to finish. Around 260s to be exact, and 310s on a debug kernel.
The default timeout in selftest is 45sec, so we need an explicit
config. Give ourselves some headroom and use 10min.

Commit under Fixes isn't really to "blame" but prior to that
netdevsim tests weren't integrated with kselftest infra
so blaming the tests themselves doesn't seem right, either.

Fixes: 8ff25dac88f6 ("netdevsim: add Makefile for selftests")
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
tools/testing/selftests/drivers/net/netdevsim/settings [new file with mode: 0644]

diff --git a/tools/testing/selftests/drivers/net/netdevsim/settings b/tools/testing/selftests/drivers/net/netdevsim/settings
new file mode 100644 (file)
index 0000000..a62d2fa
--- /dev/null
@@ -0,0 +1 @@
+timeout=600
This page took 0.049292 seconds and 4 git commands to generate.