https://pantsbuild.org/ logo
#general
Title
# general
m

magnificent-vr-79843

12/15/2020, 12:26 AM
According to documentation:
To force your tests to run again, rather than reading from the cache, run ./pants test --force path/...
I am getting
Unrecognized command line flags on scope 'test': --force
Any ideas what can be wrong there?
e

enough-analyst-54434

12/15/2020, 12:46 AM
Does the documentation version you're reading match the pants version you're using?
... the flag works as you quoted from the docs on Pants master from a quick check just now.
m

magnificent-vr-79843

12/15/2020, 12:58 AM
Thank you. My bad - it is from newer version.
w

witty-crayon-22786

12/15/2020, 10:25 PM
if you need any help upgrading, please let us know!
the majority of the project’s attention is going into the 2.x.y releases now, and only a few fixes are being released for 1.30.z still
to your original question: on 1.x, pants, skipping the cache for tests was
./pants test --cache-ignore ..