diff --git a/sdks/python/scripts/run_integration_test.sh b/sdks/python/scripts/run_integration_test.sh index b477e918d96c..7b42e6761291 100755 --- a/sdks/python/scripts/run_integration_test.sh +++ b/sdks/python/scripts/run_integration_test.sh @@ -277,8 +277,8 @@ fi echo ">>> RUNNING integration tests with pipeline options: $PIPELINE_OPTS" echo ">>> pytest options: $TEST_OPTS" echo ">>> collect markers: $COLLECT_MARKERS" -ARGS="-o junit_suite_name=$SUITE --junitxml=pytest_$SUITE.xml $TEST_OPTS" -# Handle markers as an independient argument from $TEST_OPTS to prevent errors in space separeted flags +ARGS="-o junit_suite_name=$SUITE -o log_cli=true -o log_level=INFO --junitxml=pytest_$SUITE.xml $TEST_OPTS" +# Handle markers as an independent argument from $TEST_OPTS to prevent errors in space separated flags if [ -z "$COLLECT_MARKERS" ]; then pytest $ARGS --test-pipeline-options="$PIPELINE_OPTS" else