]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mptcp: allow more slack for slow test-case
authorPaolo Abeni <pabeni@redhat.com>
Tue, 7 Feb 2023 13:04:17 +0000 (14:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Feb 2023 18:11:51 +0000 (19:11 +0100)
commit84cfb3cc7f16da42d4dd3ffb44777efa9a85ef9f
tree2f73ab5a8e6d8bdf1c7606b9899835bde8ce97b7
parent86e525c18d2ab586867adeca3004c3623a217443
selftests: mptcp: allow more slack for slow test-case

commit 1fb8bb1db28557a5ded926326d7cced29602b398 upstream.

A test-case is frequently failing on some extremely slow VMs.
The mptcp transfer completes before the script is able to do
all the required PM manipulation.

Address the issue in the simplest possible way, making the
transfer even more slow.

Additionally dump more info in case of failures, to help debugging
similar problems in the future and init dump_stats var.

Fixes: 2d4faa4fb071 ("selftests: mptcp: add subflow limits test-cases")
Cc: stable@vger.kernel.org
Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/323
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/net/mptcp/mptcp_join.sh