From: Mat Martineau <mathew.j.martineau@linux.intel.com>
To: Paolo Abeni <pabeni@redhat.com>
Cc: mptcp@lists.linux.dev
Subject: Re: [PATCH mptcp-next] selftests: mptcp: fix diag instability
Date: Wed, 2 Feb 2022 16:15:17 -0800 (PST) [thread overview]
Message-ID: <d2e4a5f1-e7b9-349e-ba1d-e9b2b4148da3@linux.intel.com> (raw)
In-Reply-To: <8e7b626d99b8c28b8638f850841707c63deb0bb4.1643825648.git.pabeni@redhat.com>
On Wed, 2 Feb 2022, Paolo Abeni wrote:
> Increase the time waiting for mptcp sockets to get established,
> to cope with very slow running host, or high jitter caused by
> VMs.
>
> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
> ---
> note: just to trigger the public CI, probably a better commit
> message needed
Ok, noted. I also haven't seen instability in diag.sh, for what it's
worth.
Suggestion for the commit message, explain why the change from "-j" to "-r
0" when invoking mptcp_connect.
-Mat
> ---
> tools/testing/selftests/net/mptcp/diag.sh | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/tools/testing/selftests/net/mptcp/diag.sh b/tools/testing/selftests/net/mptcp/diag.sh
> index 2674ba20d524..baafd36c3e0e 100755
> --- a/tools/testing/selftests/net/mptcp/diag.sh
> +++ b/tools/testing/selftests/net/mptcp/diag.sh
> @@ -87,9 +87,9 @@ chk_msk_nr 0 "no msk on netns creation"
> echo "b" | \
> timeout ${timeout_test} \
> ip netns exec $ns \
> - ./mptcp_connect -p 10000 -j -t ${timeout_poll} \
> + ./mptcp_connect -p 10000 -r 0 -t ${timeout_poll} \
> 127.0.0.1 >/dev/null &
> -sleep 0.1
> +sleep 0.4
> chk_msk_nr 2 "after MPC handshake "
> chk_msk_remote_key_nr 2 "....chk remote_key"
> chk_msk_fallback_nr 0 "....chk no fallback"
> @@ -105,9 +105,9 @@ sleep 0.1
> echo "b" | \
> timeout ${timeout_test} \
> ip netns exec $ns \
> - ./mptcp_connect -p 10001 -j -t ${timeout_poll} \
> + ./mptcp_connect -p 10001 -r 0 -t ${timeout_poll} \
> 127.0.0.1 >/dev/null &
> -sleep 0.1
> +sleep 0.4
> chk_msk_fallback_nr 1 "check fallback"
> flush_pids
>
> --
> 2.34.1
>
>
>
--
Mat Martineau
Intel
prev parent reply other threads:[~2022-02-03 0:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-02 18:15 [PATCH mptcp-next] selftests: mptcp: fix diag instability Paolo Abeni
2022-02-02 19:35 ` Matthieu Baerts
2022-02-03 9:40 ` Matthieu Baerts
2022-02-03 0:15 ` Mat Martineau [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d2e4a5f1-e7b9-349e-ba1d-e9b2b4148da3@linux.intel.com \
--to=mathew.j.martineau@linux.intel.com \
--cc=mptcp@lists.linux.dev \
--cc=pabeni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.