Hi Geliang,
On 13/02/2024 05:14, Geliang Tang wrote:
> From: Geliang Tang <tanggeliang@kylinos.cn>
>
> In most scripts timeout_poll is defined to 30, but in diag.sh,
> it's 100. To maintain consistency with other scripts, this patch
> changes it to 30.
It looks like we use 100 (mptcp_connect (...) -t 100) from the
beginning, see commit df62f2ec3df6 ("selftests/mptcp: add diag interface
tests").
It makes sense to align this with the others, but it would be good to
explain it is OK to do that in the commit message, something like:
Even if it is set to 100ms from the beginning with
commit df62f2ec3df6 ("selftests/mptcp: add diag interface tests"),
there is no reason not to have it to 30ms like all the other tests.
diag.sh is not supposed to be slower than the other ones.
Or similar.
> Fixes: 5888a61cb4e0 ("selftests: mptcp: launch mptcp_connect with timeout")
Here as well, it is not really a fix, not need to do the effort to
backport that, and it changes the behaviour (a bit). I think it is
better to target -next, no?
Cheers,
Matt
--
Sponsored by the NGI0 Core fund.