fix: Ensure the first failure of a flaky test is annotated when using in tandem with pytest-rerunfailures#144
Conversation
cf50e83 to
b1d74f1
Compare
b1d74f1 to
fc1793b
Compare
… in tandem with `pytest-rerunfailures` Signed-off-by: Edgar Ramírez Mondragón <edgarrm358@gmail.com>
fc1793b to
8415dfa
Compare
|
Haven't had a chance to review this yet, dumping this here until I can review: 🤖 AI text below 🤖 Both new tests pass. Here's my review. Code Review — PR #144: Annotate intermediate flaky-test failures with
|
Signed-off-by: Edgar Ramírez Mondragón <edgarrm358@gmail.com>
|
Addressed the "xdist + rerunfailures interaction" test suggestion. |
pytest-rerunfailuressetsTestReport.outcometo"rerun"instead of"failed"(TestReport.failedis justself.outcome == "failed"), so we were skipping annotations for flaky test reruns and only annotating the final failure.Related
pytest-rerunfailures#132