summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/tcp_ao/restore.c
diff options
context:
space:
mode:
authorDmitry Safonov <0x7f454c46@gmail.com>2025-03-19 06:13:40 +0300
committerJakub Kicinski <kuba@kernel.org>2025-03-25 16:10:30 +0300
commitedbac739e4d10693d85be0526f09f2bc3d7a223b (patch)
treeb678e9f43a47be4ac90fa7f07439765f2b0b2b86 /tools/testing/selftests/net/tcp_ao/restore.c
parent1e1738faa2bb992c64f1ed124f773c1da58e9044 (diff)
downloadlinux-edbac739e4d10693d85be0526f09f2bc3d7a223b.tar.xz
selftests/net: Drop timeout argument from test_client_verify()
It's always TEST_TIMEOUT_SEC, with an unjustified exception in rst test, that is more paranoia-long timeout rather than based on requirements. Signed-off-by: Dmitry Safonov <0x7f454c46@gmail.com> Link: https://patch.msgid.link/20250319-tcp-ao-selftests-polling-v2-7-da48040153d1@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/tcp_ao/restore.c')
-rw-r--r--tools/testing/selftests/net/tcp_ao/restore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/net/tcp_ao/restore.c b/tools/testing/selftests/net/tcp_ao/restore.c
index 1c7264a5498a..9a059b6c4523 100644
--- a/tools/testing/selftests/net/tcp_ao/restore.c
+++ b/tools/testing/selftests/net/tcp_ao/restore.c
@@ -124,7 +124,7 @@ static void test_get_sk_checkpoint(unsigned int server_port, sockaddr_af *saddr,
test_error("failed to connect()");
synchronize_threads(); /* 2: accepted => send data */
- if (test_client_verify(sk, msg_len, nr_packets, TEST_TIMEOUT_SEC))
+ if (test_client_verify(sk, msg_len, nr_packets))
test_fail("pre-migrate verify failed");
test_enable_repair(sk);