Skip to content

Commit

Permalink
[BEAM-13982] Added output of logging for python E2E pytests (#17637)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthompson591 authored May 16, 2022
1 parent 5b81d14 commit e6aab06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdks/python/scripts/run_integration_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e6aab06

Please sign in to comment.