diff mbox series

[bpf] selftests: bpf: switch off timeout

Message ID 7a9198ed10917f4ecab4a3dd74bcda1200791efd.1596739059.git.jbenc@redhat.com
State Accepted
Delegated to: BPF Maintainers
Headers show
Series [bpf] selftests: bpf: switch off timeout | expand

Commit Message

Jiri Benc Aug. 6, 2020, 6:39 p.m. UTC
Several bpf tests are interrupted by the default timeout of 45 seconds added
by commit 852c8cbf34d3 ("selftests/kselftest/runner.sh: Add 45 second
timeout per test"). In my case it was test_progs, test_tunnel.sh,
test_lwt_ip_encap.sh and test_xdping.sh.

There's not much value in having a timeout for bpf tests, switch it off.

Signed-off-by: Jiri Benc <jbenc@redhat.com>
---
 tools/testing/selftests/bpf/settings | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 tools/testing/selftests/bpf/settings

Comments

Alexei Starovoitov Aug. 6, 2020, 11:57 p.m. UTC | #1
On Thu, Aug 6, 2020 at 11:42 AM Jiri Benc <jbenc@redhat.com> wrote:
>
> Several bpf tests are interrupted by the default timeout of 45 seconds added
> by commit 852c8cbf34d3 ("selftests/kselftest/runner.sh: Add 45 second
> timeout per test"). In my case it was test_progs, test_tunnel.sh,
> test_lwt_ip_encap.sh and test_xdping.sh.
>
> There's not much value in having a timeout for bpf tests, switch it off.
>
> Signed-off-by: Jiri Benc <jbenc@redhat.com>

Applied. Thanks
diff mbox series

Patch

diff --git a/tools/testing/selftests/bpf/settings b/tools/testing/selftests/bpf/settings
new file mode 100644
index 000000000000..e7b9417537fb
--- /dev/null
+++ b/tools/testing/selftests/bpf/settings
@@ -0,0 +1 @@ 
+timeout=0