You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by tv...@apache.org on 2022/05/16 14:30:20 UTC

[beam] branch master updated: [BEAM-13982] Added output of logging for python E2E pytests (#17637)

This is an automated email from the ASF dual-hosted git repository.

tvalentyn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new e6aab063e09 [BEAM-13982] Added output of logging for python E2E pytests (#17637)
e6aab063e09 is described below

commit e6aab063e09ba52703e0417221de4c4466f8fd13
Author: Ryan Thompson <ry...@gmail.com>
AuthorDate: Mon May 16 10:30:14 2022 -0400

    [BEAM-13982] Added output of logging for python E2E pytests (#17637)
---
 sdks/python/scripts/run_integration_test.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sdks/python/scripts/run_integration_test.sh b/sdks/python/scripts/run_integration_test.sh
index b477e918d96..7b42e676129 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