[PATCH mptcp-next 1/3] Squash to "selftests: mptcp: improve 'fair usage on close' stability"

Mat Martineau posted 3 patches 3 years, 11 months ago
[PATCH mptcp-next 1/3] Squash to "selftests: mptcp: improve 'fair usage on close' stability"
Posted by Mat Martineau 3 years, 11 months ago
I modified the patch sent to -net upstream to remove this function
rename, to avoid a net/net-next merge conflict. Rename is restored in a
later patch.

Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
---
 tools/testing/selftests/net/mptcp/mptcp_join.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/testing/selftests/net/mptcp/mptcp_join.sh b/tools/testing/selftests/net/mptcp/mptcp_join.sh
index b48b11714817..788aab602d8f 100755
--- a/tools/testing/selftests/net/mptcp/mptcp_join.sh
+++ b/tools/testing/selftests/net/mptcp/mptcp_join.sh
@@ -1152,7 +1152,7 @@ chk_link_usage()
 	fi
 }
 
-wait_attempt_fail()
+wait_for_tw()
 {
 	local timeout_ms=$((timeout_poll * 1000))
 	local time=0
@@ -1271,7 +1271,7 @@ subflows_error_tests()
 	TEST_COUNT=$((TEST_COUNT+1))
 
 	# mpj subflow will be in TW after the reset
-	wait_attempt_fail $ns2
+	wait_for_tw $ns2
 	pm_nl_add_endpoint $ns2 10.0.2.2 flags subflow
 	wait
 
-- 
2.35.1