Is there some configuration I can use to force a c...
# general
a
Is there some configuration I can use to force a certain set of tests to run one after the other AND in the same batch with Pants, even when using
pants test ::
? I have one project whose tests I don't have time to refactor for the time being. Setting
batch_compatibility_tag
on the tests does not solve the problem, but running them with
--debug
does. The issue is that they re-use a service running in a Docker container. I can't dynamically change the environment variable used inside the container in order to facilitate usage of PANTS_EXECUTION_SLOT, and as a result I need them to run as if I ran
pytest
normally.
A different way to solve the problem would be: Given the following folders:
Copy code
tests/
   e2e/
   integration/
   unit/
Can I force
e2e
to run in batch only after
integration
and
unit
have finished running?
h
Not that I can think of. I didn't quite understand why you can't use PANTS_EXECUTION_SLOT? is it because you can't run multiple copies of the service?