1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/tools/testing/selftests/net/mptcp
Matthieu Baerts (NGI0) 04b57c9e09 selftests: mptcp: join: stop transfer when check is done (part 2)
Since the "Fixes" commits mentioned below, the newly added "userspace
pm" subtests of mptcp_join selftests are launching the whole transfer in
the background, do the required checks, then wait for the end of
transfer.

There is no need to wait longer, especially because the checks at the
end of the transfer are ignored (which is fine). This saves quite a few
seconds on slow environments.

While at it, use 'mptcp_lib_kill_wait()' helper everywhere, instead of
on a specific one with 'kill_tests_wait()'.

Fixes: b2e2248f36 ("selftests: mptcp: userspace pm create id 0 subflow")
Fixes: e3b47e460b ("selftests: mptcp: userspace pm remove initial subflow")
Fixes: b9fb176081 ("selftests: mptcp: userspace pm send RM_ADDR for ID 0")
Cc: stable@vger.kernel.org
Reviewed-and-tested-by: Geliang Tang <geliang@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://lore.kernel.org/r/20240131-upstream-net-20240131-mptcp-ci-issues-v1-9-4c1c11e571ff@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-02-01 09:06:38 -08:00
..
.gitignore selftests: mptcp: add inq test case 2021-12-07 11:36:30 -08:00
config selftests: mptcp: add missing kconfig for NF Mangle 2024-02-01 09:06:37 -08:00
diag.sh selftests: mptcp: diag: check CURRESTAB counters 2024-01-02 13:33:33 +00:00
Makefile selftests: mptcp: connect: skip if MPTCP is not supported 2023-05-30 13:21:02 +02:00
mptcp_connect.c selftests/net: mptcp: fix uninitialized variable warnings 2023-11-27 18:12:07 -08:00
mptcp_connect.sh selftests: mptcp: add mptcp_lib_wait_local_port_listen 2023-11-29 20:06:19 -08:00
mptcp_inq.c selftests/net: mptcp: fix uninitialized variable warnings 2023-11-27 18:12:07 -08:00
mptcp_join.sh selftests: mptcp: join: stop transfer when check is done (part 2) 2024-02-01 09:06:38 -08:00
mptcp_lib.sh selftests: mptcp: allow changing subtests prefix 2024-02-01 09:06:38 -08:00
mptcp_sockopt.c selftests: mptcp: add MPTCP_FULL_INFO testcase 2023-06-21 22:45:58 -07:00
mptcp_sockopt.sh selftests: mptcp: add mptcp_lib_check_transfer 2023-11-29 20:06:19 -08:00
pm_netlink.sh selftests: mptcp: pm_nl_ctl: always look for errors 2023-07-31 20:11:53 -07:00
pm_nl_ctl.c selftests: mptcp: pm_nl_ctl: always look for errors 2023-07-31 20:11:53 -07:00
settings selftests: mptcp: increase timeout to 30 min 2024-02-01 09:06:37 -08:00
simult_flows.sh selftests: mptcp: decrease BW in simult flows 2024-02-01 09:06:37 -08:00
userspace_pm.sh selftests: mptcp: add mptcp_lib_make_file 2023-11-29 20:06:18 -08:00