You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by da...@apache.org on 2023/05/18 19:17:22 UTC

[beam] 01/01: Run Pytest in verbose mode for debugging

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

damccorm pushed a commit to branch users/damccorm/verbosePytest
in repository https://gitbox.apache.org/repos/asf/beam.git

commit fd0a5e2450103ee2bab3d5dfea790ee9dee796d4
Author: Danny McCormick <da...@google.com>
AuthorDate: Thu May 18 15:17:14 2023 -0400

    Run Pytest in verbose mode for debugging
---
 sdks/python/scripts/run_pytest.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sdks/python/scripts/run_pytest.sh b/sdks/python/scripts/run_pytest.sh
index 01f2318164c..f722cb6a627 100755
--- a/sdks/python/scripts/run_pytest.sh
+++ b/sdks/python/scripts/run_pytest.sh
@@ -42,10 +42,10 @@ echo "posargs: $posargs"
 
 # Run with pytest-xdist and without.
 pytest -o junit_suite_name=${envname} \
-  --junitxml=pytest_${envname}.xml -m 'not no_xdist' -n 6 ${pytest_args} --pyargs ${posargs}
+  --junitxml=pytest_${envname}.xml -m 'not no_xdist' -v -n 6 ${pytest_args} --pyargs ${posargs}
 status1=$?
 pytest -o junit_suite_name=${envname}_no_xdist \
-  --junitxml=pytest_${envname}_no_xdist.xml -m 'no_xdist' ${pytest_args} --pyargs ${posargs}
+  --junitxml=pytest_${envname}_no_xdist.xml -m 'no_xdist' -v ${pytest_args} --pyargs ${posargs}
 status2=$?
 
 # Exit with error if no tests were run in either suite (status code 5).