[PATCH] tests: hsr: Increase timeout to 10 minutes

From: Yunshui Jiang
Date: Tue Oct 22 2024 - 04:02:54 EST


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@xxxxxxxxxx>
---
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