diff options
author | Paolo Abeni | 2020-08-07 18:31:00 +0200 |
---|---|---|
committer | David S. Miller | 2020-08-07 17:25:38 -0700 |
commit | 6bdb6211a61eaf91a22e9160b16795ee6c40f90d (patch) | |
tree | dcf22b83fa5226cf96dad5be3c3337f7f487bb52 /net/mptcp | |
parent | 158b47a65aa6b1e70424c3c9c0eda8577b831ea8 (diff) |
mptcp: more stable diag self-tests
During diag self-tests we introduce long wait in the mptcp test
program to give the script enough time to access the sockets
dump.
Such wait is introduced after shutting down one sockets end. Since
commit 43b54c6ee382 ("mptcp: Use full MPTCP-level disconnect state
machine") if both sides shutdown the socket is correctly transitioned
into CLOSED status.
As a side effect some sockets are not dumped via the diag interface,
because the socket state (CLOSED) does not match the default filter, and
this cause self-tests instability.
Address the issue moving the above mentioned wait before shutting
down the socket.
Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/68
Fixes: df62f2ec3df6 ("selftests/mptcp: add diag interface tests")
Tested-and-acked-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mptcp')
0 files changed, 0 insertions, 0 deletions