gentle-gigabyte-52115
11/21/2022, 2:11 PMwide-midnight-78598
11/21/2022, 2:18 PMgentle-gigabyte-52115
11/21/2022, 2:19 PM--process-execution-local-parallelism=1
I wouldn’t want to do because it will reduce performance.
[pytest].execution_slot_var
I don’t really understand how this could be used to control parallelism.happy-kitchen-89482
11/21/2022, 2:27 PMexecution_slot_var
is not used to control parallelism - it names an env var that will contain a “slot number” that your tests can use to assign unique databases or other resourcespython_tests
targets for those heavy tests (and be sure to exclude those tests from the sources of the python_tests
target that owns the other tests in the same dir) . Then you can tag the heavy test targets. Then you can run Pants twice, once with ./pants test --process-execution-local-parallelism=1 --tag=heavy ::
and again with ./pants test --tag=-heavy ::
gentle-gigabyte-52115
11/21/2022, 2:35 PMambitious-actor-36781
11/21/2022, 10:18 PM