]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
selftests: hw-net: toeplitz: give the test up to 4 seconds
authorJakub Kicinski <kuba@kernel.org>
Fri, 21 Nov 2025 04:02:59 +0000 (20:02 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 25 Nov 2025 02:51:41 +0000 (18:51 -0800)
Increase the receiver timeout. When running between machines
in different geographic regions the test needs more than
a second to SSH across and send the frames.

The bkg() command that runs the receiver defaults to 5 sec timeout,
so using 4 sec sounds like a reasonable value for the receiver itself.

Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20251121040259.3647749-6-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/hw/toeplitz.py

index 945c58d23310cbf55c20e947321e29a512521f04..d2db5ee9e3586b8350c2beb26b4dfb5ade89c2c8 100755 (executable)
@@ -166,7 +166,7 @@ def test(cfg, proto_flag, ipver, grp):
         proto_flag,
         "-d", str(port),
         "-i", cfg.ifname,
-        "-T", "1000",
+        "-T", "4000",
         "-s",
         "-v"
     ]