selftests: mptcp: gives slow test-case more time
authorPaolo Abeni <pabeni@redhat.com>
Tue, 15 Nov 2022 22:10:44 +0000 (14:10 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 18 Nov 2022 05:43:57 +0000 (21:43 -0800)
commit22b29557aef3c9d673c887911b504c6d47009de4
tree7b875b861692c4d688d34ff640e2b2efb2b68452
parent847ccab8fdcf4a0cd85a278480fab1ccdc9f6136
selftests: mptcp: gives slow test-case more time

On slow or busy VM, some test-cases still fail because the
data transfer completes before the endpoint manipulation
actually took effect.

Address the issue by artificially increasing the runtime for
the relevant test-cases.

Fixes: ef360019db40 ("selftests: mptcp: signal addresses testcases")
Closes: https://github.com/multipath-tcp/mptcp_net-next/issues/309
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/mptcp/mptcp_join.sh