public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tests: hsr: Increase timeout to 10 minutes
@ 2024-10-22  8:02 Yunshui Jiang
  2024-10-22 15:46 ` Simon Horman
  2024-10-22 16:12 ` Andrew Lunn
  0 siblings, 2 replies; 5+ messages in thread
From: Yunshui Jiang @ 2024-10-22  8:02 UTC (permalink / raw)
  To: linux-kernel; +Cc: netdev, davem, edumazet, kuba, pabeni, Yunshui Jiang

The time-consuming HSR test, hsr_ping.sh, actually needs 7 min to run.
Around 375s to be exact, and even more on a debug kernel or kernel with
other network security limits. The timeout setting for the kselftest is
currently 45 seconds, which is way too short to integrate hsr tests to
run_kselftest infrastructure. So, HSR test needs an explicit setting.
And to leave us some slack, use 10 min as default timeout.

Signed-off-by: Yunshui Jiang <jiangyunshui@kylinos.cn>
---
 tools/testing/selftests/net/hsr/settings | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 tools/testing/selftests/net/hsr/settings

diff --git a/tools/testing/selftests/net/hsr/settings b/tools/testing/selftests/net/hsr/settings
new file mode 100644
index 000000000000..a62d2fa1275c
--- /dev/null
+++ b/tools/testing/selftests/net/hsr/settings
@@ -0,0 +1 @@
+timeout=600
-- 
2.45.2


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

end of thread, other threads:[~2024-10-30 23:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-22  8:02 [PATCH] tests: hsr: Increase timeout to 10 minutes Yunshui Jiang
2024-10-22 15:46 ` Simon Horman
2024-10-22 16:12 ` Andrew Lunn
2024-10-28  8:27   ` [PATCH v2] tests: hsr: Increase timeout to 50 seconds Yunshui Jiang
2024-10-30 23:50     ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox