]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
selftests/net: bump timeout to 5 minutes
authorPo-Hsu Lin <po-hsu.lin@canonical.com>
Fri, 23 Apr 2021 11:15:38 +0000 (19:15 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Apr 2021 21:08:58 +0000 (14:08 -0700)
We found that with the latest mainline kernel (5.12.0-051200rc8) on
some KVM instances / bare-metal systems, the following tests will take
longer than the kselftest framework default timeout (45 seconds) to
run and thus got terminated with TIMEOUT error:
* xfrm_policy.sh - took about 2m20s
* pmtu.sh - took about 3m5s
* udpgso_bench.sh - took about 60s

Bump the timeout setting to 5 minutes to allow them have a chance to
finish.

https://bugs.launchpad.net/bugs/1856010
Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/Makefile
tools/testing/selftests/net/settings [new file with mode: 0644]

index f4242a96108838db9d60d617e50b2ca79297afd4..3915bb7bfc39ef454026458899c409835c000022 100644 (file)
@@ -39,6 +39,8 @@ TEST_GEN_FILES += ipsec
 TEST_GEN_PROGS = reuseport_bpf reuseport_bpf_cpu reuseport_bpf_numa
 TEST_GEN_PROGS += reuseport_dualstack reuseaddr_conflict tls
 
+TEST_FILES := settings
+
 KSFT_KHDR_INSTALL := 1
 include ../lib.mk
 
diff --git a/tools/testing/selftests/net/settings b/tools/testing/selftests/net/settings
new file mode 100644 (file)
index 0000000..694d707
--- /dev/null
@@ -0,0 +1 @@
+timeout=300