From 75c485dda1729a623b3207155a560d863449aff0 Mon Sep 17 00:00:00 2001 From: Geliang Tang Date: Fri, 29 Nov 2024 16:21:38 +0800 Subject: [PATCH] Squash to "selftests/bpf: Add bpf scheduler test" Increase the timeout value of MPTCP BPF selftests to 30s, keeping it the same as other MPTCP selftests. Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/487 Signed-off-by: Geliang Tang --- tools/testing/selftests/bpf/prog_tests/mptcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/bpf/prog_tests/mptcp.c b/tools/testing/selftests/bpf/prog_tests/mptcp.c index 89781843da1e..f2bcfa1edb6e 100644 --- a/tools/testing/selftests/bpf/prog_tests/mptcp.c +++ b/tools/testing/selftests/bpf/prog_tests/mptcp.c @@ -1102,7 +1102,7 @@ static void send_data_and_verify(char *sched, bool addr1, bool addr2) if (clock_gettime(CLOCK_MONOTONIC, &start) < 0) goto fail; - if (!ASSERT_OK(send_recv_data(server_fd, client_fd, total_bytes), + if (!ASSERT_OK(send_recv_data(server_fd, client_fd, total_bytes, 30000), "send_recv_data")) goto fail;