Skip to content

Commit b881d08

Browse files
Cypresslindavem330
authored andcommitted
selftests/net: bump timeout to 5 minutes
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent bd6e229 commit b881d08

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

tools/testing/selftests/net/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ TEST_GEN_FILES += ipsec
3939
TEST_GEN_PROGS = reuseport_bpf reuseport_bpf_cpu reuseport_bpf_numa
4040
TEST_GEN_PROGS += reuseport_dualstack reuseaddr_conflict tls
4141

42+
TEST_FILES := settings
43+
4244
KSFT_KHDR_INSTALL := 1
4345
include ../lib.mk
4446

tools/testing/selftests/net/settings

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
timeout=300

0 commit comments

Comments
 (0)