mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-12 12:25:18 +02:00
Revert "selftests: mptcp: simult flows: mark 'unbalanced' tests as flaky"
This reverts commit 052c9f0c14
.
If the test doesn't pass, we can get this error:
# ./simult_flows.sh: line 275: mptcp_lib_subtest_is_flaky: command not found
This patch is not needed in v6.6: it is there to mark a test as "flaky",
but the MPTCP selftests infrastructure in v6.6 doesn't support them. So
it looks better to revert this patch.
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9d97114f2f
commit
1c3b01b519
|
@ -262,7 +262,7 @@ run_test()
|
||||||
do_transfer $small $large $time
|
do_transfer $small $large $time
|
||||||
lret=$?
|
lret=$?
|
||||||
mptcp_lib_result_code "${lret}" "${msg}"
|
mptcp_lib_result_code "${lret}" "${msg}"
|
||||||
if [ $lret -ne 0 ] && ! mptcp_lib_subtest_is_flaky; then
|
if [ $lret -ne 0 ]; then
|
||||||
ret=$lret
|
ret=$lret
|
||||||
[ $bail -eq 0 ] || exit $ret
|
[ $bail -eq 0 ] || exit $ret
|
||||||
fi
|
fi
|
||||||
|
@ -272,7 +272,7 @@ run_test()
|
||||||
do_transfer $large $small $time
|
do_transfer $large $small $time
|
||||||
lret=$?
|
lret=$?
|
||||||
mptcp_lib_result_code "${lret}" "${msg}"
|
mptcp_lib_result_code "${lret}" "${msg}"
|
||||||
if [ $lret -ne 0 ] && ! mptcp_lib_subtest_is_flaky; then
|
if [ $lret -ne 0 ]; then
|
||||||
ret=$lret
|
ret=$lret
|
||||||
[ $bail -eq 0 ] || exit $ret
|
[ $bail -eq 0 ] || exit $ret
|
||||||
fi
|
fi
|
||||||
|
@ -305,7 +305,7 @@ run_test 10 10 0 0 "balanced bwidth"
|
||||||
run_test 10 10 1 25 "balanced bwidth with unbalanced delay"
|
run_test 10 10 1 25 "balanced bwidth with unbalanced delay"
|
||||||
|
|
||||||
# we still need some additional infrastructure to pass the following test-cases
|
# we still need some additional infrastructure to pass the following test-cases
|
||||||
MPTCP_LIB_SUBTEST_FLAKY=1 run_test 10 3 0 0 "unbalanced bwidth"
|
run_test 10 3 0 0 "unbalanced bwidth"
|
||||||
run_test 10 3 1 25 "unbalanced bwidth with unbalanced delay"
|
run_test 10 3 1 25 "unbalanced bwidth with unbalanced delay"
|
||||||
run_test 10 3 25 1 "unbalanced bwidth with opposed, unbalanced delay"
|
run_test 10 3 25 1 "unbalanced bwidth with opposed, unbalanced delay"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user