TheNeuralBit commented on a change in pull request #15693:
URL: https://github.com/apache/beam/pull/15693#discussion_r725389522



##########
File path: sdks/python/tox.ini
##########
@@ -247,5 +247,6 @@ deps =
 commands =
   # Log pyarrow and numpy version for debugging
   /bin/sh -c "pip freeze | grep -E '(pyarrow|numpy)'"
-  # TODO(BEAM-12985): Running run_pytest.sh with -m causes us to run all the 
tests twice
-  {toxinidir}/scripts/run_pytest.sh {envname} "{posargs}" '-m uses_pyarrow'
+  # Run pytest directly rather using run_pytest.sh. It doesn't handle
+  # selecting tests with -m (BEAM-12985)
+  pytest -o junit_suite_name={envname} --junitxml=pytest_{envname}.xml -n 6 -m 
uses_pyarrow

Review comment:
       Done.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to