From 50de93ef1c32036af8e4e58c380bed0af619ab47 Mon Sep 17 00:00:00 2001 From: "Gromadzki, Tomasz" Date: Fri, 12 Apr 2024 22:49:49 +0200 Subject: [PATCH] Force stop after first failure (--failfast) Cancel-prev-build: false Doc-only: false Func-hw-test-distro: rocky8.9 Required-githooks: true Skip-build-leap15-icc: true Skip-build-el9-rpm: true Skip-build-leap15-rpm: true Skip-build-ubuntu20-rpm: true Skip-coverity-test: true Skip-fault-injection-test: true Skip-func-hw-test-medium-md-on-ssd: true Skip-func-hw-test-medium-verbs-provider-md-on-ssd: true Skip-func-hw-test-medium-ucx-provider: true Skip-func-hw-test-large: true Skip-nlt: true Skip-python-bandit: true Skip-test-el-8.6-rpms: true Skip-unit-test-memcheck: true Skip-unit-tests: true Signed-off-by: Gromadzki, Tomasz --- src/tests/ftest/scripts/main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/ftest/scripts/main.sh b/src/tests/ftest/scripts/main.sh index e6079637064..763c2ae609f 100755 --- a/src/tests/ftest/scripts/main.sh +++ b/src/tests/ftest/scripts/main.sh @@ -102,7 +102,7 @@ if [ "${STAGE_NAME}" == "Functional Hardware 24" ]; then fi # shellcheck disable=SC2086,SC2090,SC2048 -if ! python ./launch.py --mode ci ${launch_node_args} ${LAUNCH_OPT_ARGS} ${TEST_TAG_ARR[*]}; then +if ! python ./launch.py --failfast --mode ci ${launch_node_args} ${LAUNCH_OPT_ARGS} ${TEST_TAG_ARR[*]}; then rc=${PIPESTATUS[0]} else rc=0