Skip to content

Commit

Permalink
Squash to "selftests/bpf: Add bpf scheduler test"
Browse files Browse the repository at this point in the history
Increase the timeout value of MPTCP BPF selftests to 30s, keeping it
the same as other MPTCP selftests.

Closes: multipath-tcp#487
Signed-off-by: Geliang Tang <[email protected]>
  • Loading branch information
Geliang Tang committed Jan 16, 2025
1 parent 13724db commit 921bdd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/bpf/prog_tests/mptcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 921bdd5

Please sign in to comment.