]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
selftests: drv-net: increase timeout
authorMatthieu Baerts (NGI0) <matttbe@kernel.org>
Fri, 10 Jul 2026 18:04:45 +0000 (20:04 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 21 Jul 2026 22:01:30 +0000 (15:01 -0700)
The default timeout is 45 seconds, that's too low for the xdp.py test.

Indeed, this test can take up to 3 minutes with some debug kernel config
on NIPA. Set a timeout to 6 minutes, just to be on the safe side.

Note that the Fixes tag here points to the introduction of the xdp.py
test because I don't know when this test started to take more than 45
seconds. That's OK because a timeout of 6 minutes is not exaggerated.

Fixes: 1cbcb1b28b26 ("selftests: drv-net: Test XDP_PASS/DROP support")
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20260710-net-sft-fix-containers-v1-5-a2915c294ef5@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/settings [new file with mode: 0644]

diff --git a/tools/testing/selftests/drivers/net/settings b/tools/testing/selftests/drivers/net/settings
new file mode 100644 (file)
index 0000000..eef5338
--- /dev/null
@@ -0,0 +1 @@
+timeout=360