One of my engs brought up that Bazel has a `--reru...
# development
b
One of my engs brought up that Bazel has a
--rerun N
flag which will re-run tests a certain # of times to help identify flaky tests. I could implement this in Pytest + Pants'
--force
, but it might be useful for other languages. Anyone got thoughts?
1
h
It would be great to have
w
fwiw:
--force
works across all languages
b
Yeah that was why I made the post. I think the idea would be to add another flag like
--force
so that all languages benefit
w
ah, got it.
a little bit more about the usecases would be good: i think that we were envisioning the retry setting as a tool to smooth out CI… this sounds more like a manually run local “is it flaky” tool
mm: a cool thing about this existing explicitly would be that it could run all attempts in parallel
1
b
Re use cases I think it boils down to two settings. Retry+retry behavior.