1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/tools/testing/selftests/net/mptcp
Paolo Abeni 6bdb6211a6 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 43b54c6ee3 ("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: df62f2ec3d ("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>
2020-08-07 17:25:38 -07:00
..
.gitignore SPDX patches for 5.7-rc1. 2020-04-03 13:12:26 -07:00
config selftests: mptcp: fix dependecies 2020-08-07 17:22:49 -07:00
diag.sh selftests/mptcp: add diag interface tests 2020-07-09 12:38:41 -07:00
Makefile selftests/mptcp: add diag interface tests 2020-07-09 12:38:41 -07:00
mptcp_connect.c mptcp: more stable diag self-tests 2020-08-07 17:25:38 -07:00
mptcp_connect.sh selftests: mptcp: make 2nd net namespace use tcp syn cookies unconditionally 2020-07-31 16:55:32 -07:00
mptcp_join.sh selftests: mptcp: add test cases for mptcp join tests with syn cookies 2020-07-31 16:55:32 -07:00
pm_netlink.sh selftests: mptcp: pm: rm the right tmp file 2020-05-15 10:33:56 -07:00
pm_nl_ctl.c selftests:mptcp: fix failure due to whitespace damage 2020-03-30 10:25:34 -07:00
settings mptcp: add basic kselftest for mptcp 2020-01-24 13:44:08 +01:00