Last-failed option missing tests when failed tests include a mix stable and random node IDs #10265
Open
4 tasks done
Labels
topic: collection
related to the collection phase
pip list
from the virtual environment you are using--last-failed
optiontest_zxc
is rerunInitially we thought this was because
test_asd
is using a randomized parameterized fixture. Since the node IDs are essentially random it would make sense pytest doesn't reselect them.But if you remove
test_zxc
in the example above and run steps 2 and 3, pytest actually works and rerunstest_asd
and the node IDs are different each time.The text was updated successfully, but these errors were encountered: