Skip to content

Commit

Permalink
selftests: mptcp: Rename wait function
Browse files Browse the repository at this point in the history
The "selftests: mptcp: improve 'fair usage on close' stability" commit
changed that self test to check the TcpAttemptFails MIB instead of
looking for TW sockets. The associated bash function wasn't renamed in
that commit because of the merge conflicts it would cause, so this
commit updates the function name as Paolo originally intended.

Cc: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
Mat Martineau authored and Jakub Kicinski committed Mar 9, 2022
1 parent 826d7bd commit f98c2bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/testing/selftests/net/mptcp/mptcp_join.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,7 @@ chk_link_usage()
fi
}

wait_for_tw()
wait_attempt_fail()
{
local timeout_ms=$((timeout_poll * 1000))
local time=0
Expand Down Expand Up @@ -1361,7 +1361,7 @@ subflows_error_tests()
TEST_COUNT=$((TEST_COUNT+1))

# mpj subflow will be in TW after the reset
wait_for_tw $ns2
wait_attempt_fail $ns2
pm_nl_add_endpoint $ns2 10.0.2.2 flags subflow
wait

Expand Down

0 comments on commit f98c2bc

Please sign in to comment.