netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf] selftests: bpf: switch off timeout
@ 2020-08-06 18:39 Jiri Benc
  2020-08-06 23:57 ` Alexei Starovoitov
  0 siblings, 1 reply; 2+ messages in thread
From: Jiri Benc @ 2020-08-06 18:39 UTC (permalink / raw)
  To: netdev; +Cc: bpf

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

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
-- 
2.18.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH bpf] selftests: bpf: switch off timeout
  2020-08-06 18:39 [PATCH bpf] selftests: bpf: switch off timeout Jiri Benc
@ 2020-08-06 23:57 ` Alexei Starovoitov
  0 siblings, 0 replies; 2+ messages in thread
From: Alexei Starovoitov @ 2020-08-06 23:57 UTC (permalink / raw)
  To: Jiri Benc; +Cc: Network Development, bpf

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-06 23:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-06 18:39 [PATCH bpf] selftests: bpf: switch off timeout Jiri Benc
2020-08-06 23:57 ` Alexei Starovoitov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).