Hey folks! I’m trying to work out an issue with ru...
# development
b
Hey folks! I’m trying to work out an issue with running Pants tests locally. I know that normally I can run Pants commands with
--keep_sandboxes=always
to ensure that the test environment is preserved. However, this doesn’t seem to be the case when running the tests within the Pants project. Is there another flag / way to preserve sandboxes for Pants’ internal tests?
h
No, this should work for those tests too. But note that those tests may themselves be running an entirely separate instance of Pants, in some tmpdir
you'll have to add print statements to get that thing's location
b
Ah got it, makes sense. Thanks!