high-yak-85899
02/02/2022, 7:16 PMtest
to run serially for some specially marked tests? I don't see anything in https://www.pantsbuild.org/docs/reference-test or https://www.pantsbuild.org/docs/reference-pytest for an option on that. We have integration tests that have to run against shared hardware and running in parallel would cause lots of issues.curved-television-6568
02/02/2022, 7:21 PM./pants test --debug …
to force it to run in the foreground, and thus not in parallell.
https://www.pantsbuild.org/docs/reference-test#section-debugwitty-crayon-22786
02/02/2022, 7:28 PMwitty-crayon-22786
02/02/2022, 7:28 PMhigh-yak-85899
02/02/2022, 7:30 PMwitty-crayon-22786
02/02/2022, 7:37 PMwitty-crayon-22786
02/02/2022, 7:38 PM--process-execution-remote-parallelism=1
), rather than setting test --debug
. but it would still need to be in a separate run of pants (probably after the first, so that you hit caches populated in the first run)high-yak-85899
02/02/2022, 7:44 PM./pants --process-execution-local-parallelism=1 test path/to/my/integration/tests:: --pytest-args="--integration"
. So first options keeps things serial and second option selects my custom markers that I can pytest.mark
with. Thoughts?witty-crayon-22786
02/02/2022, 7:45 PMwitty-crayon-22786
02/02/2022, 7:46 PMhigh-yak-85899
02/02/2022, 7:49 PM