MPTCP Linux Development
 help / color / mirror / Atom feed
* [PATCH mptcp-next v2] selftests: mptcp: fix MP_FAIL test-case
@ 2022-05-04  9:06 Paolo Abeni
  2022-05-04 10:18 ` selftests: mptcp: fix MP_FAIL test-case: Tests Results MPTCP CI
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Paolo Abeni @ 2022-05-04  9:06 UTC (permalink / raw)
  To: mptcp

The mentioned tests sometimes fails because the data
transfer completes before any packet is sent on the 2nd
link (the failing one).

Address the issue reducing the "virtual" b/w available
on the primary link.

Fixes: bfd4cdbe7032 ("selftests: mptcp: add MP_FAIL reset testcase")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
---
v1 -> v2:
 - slow the transfer even more (Mat)
---
 tools/testing/selftests/net/mptcp/mptcp_join.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/net/mptcp/mptcp_join.sh b/tools/testing/selftests/net/mptcp/mptcp_join.sh
index b703b61562bf..c4121a721b54 100755
--- a/tools/testing/selftests/net/mptcp/mptcp_join.sh
+++ b/tools/testing/selftests/net/mptcp/mptcp_join.sh
@@ -2707,7 +2707,7 @@ fail_tests()
 
 	# multiple subflows
 	if reset_with_fail "MP_FAIL MP_RST" 2; then
-		tc -n $ns2 qdisc add dev ns2eth1 root netem rate 20mbit delay 1
+		tc -n $ns2 qdisc add dev ns2eth1 root netem rate 1mbit delay 5
 		pm_nl_set_limits $ns1 0 1
 		pm_nl_set_limits $ns2 0 1
 		pm_nl_add_endpoint $ns2 10.0.2.2 dev ns2eth2 flags subflow
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-05-06 19:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-04  9:06 [PATCH mptcp-next v2] selftests: mptcp: fix MP_FAIL test-case Paolo Abeni
2022-05-04 10:18 ` selftests: mptcp: fix MP_FAIL test-case: Tests Results MPTCP CI
2022-05-04 12:04 ` [PATCH mptcp-next v2] selftests: mptcp: fix MP_FAIL test-case Geliang Tang
2022-05-04 23:02   ` Mat Martineau
2022-05-06 19:31 ` Matthieu Baerts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox