Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Commit 26a1a10

Browse files
matttbeSasha Levin
authored andcommitted
selftests: mptcp: decrease BW in simult flows
[ Upstream commit 5e2f3c6 ] When running the simult_flow selftest in slow environments -- e.g. QEmu without KVM support --, the results can be unstable. This selftest checks if the aggregated bandwidth is (almost) fully used as expected. To help improving the stability while still keeping the same validation in place, the BW and the delay are reduced to lower the pressure on the CPU. Fixes: 1a418cb ("mptcp: simult flow self-tests") Fixes: 219d049 ("mptcp: push pending frames when subflow has free space") Cc: stable@vger.kernel.org Suggested-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Link: https://lore.kernel.org/r/20240131-upstream-net-20240131-mptcp-ci-issues-v1-6-4c1c11e571ff@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 5257222 commit 26a1a10

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tools/testing/selftests/net/mptcp/simult_flows.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -302,12 +302,12 @@ done
302302

303303
setup
304304
run_test 10 10 0 0 "balanced bwidth"
305-
run_test 10 10 1 50 "balanced bwidth with unbalanced delay"
305+
run_test 10 10 1 25 "balanced bwidth with unbalanced delay"
306306

307307
# we still need some additional infrastructure to pass the following test-cases
308-
run_test 30 10 0 0 "unbalanced bwidth"
309-
run_test 30 10 1 50 "unbalanced bwidth with unbalanced delay"
310-
run_test 30 10 50 1 "unbalanced bwidth with opposed, unbalanced delay"
308+
run_test 10 3 0 0 "unbalanced bwidth"
309+
run_test 10 3 1 25 "unbalanced bwidth with unbalanced delay"
310+
run_test 10 3 25 1 "unbalanced bwidth with opposed, unbalanced delay"
311311

312312
mptcp_lib_result_print_all_tap
313313
exit $ret

0 commit comments

Comments
 (0)