proud-dentist-22844
12/12/2024, 4:29 AM[test].attempts_default = 3
in CI. Is there a way to get the output of all test attempts instead of just the last attempt?
Background: Some of the code under test (they are integration tests) use an external service: RabbitMQ. I modified the code so that all of the exchange/queue names include the slot number ([pytest].execution_slot_var
) which mitigates much of the cross test pollution. But I just had CI fail, and the test output shows that the each attempt is leaving data behind that is breaking the subsequent attempts. So, I don't know what the initial error was that caused the test to fail. As soon as I dropped [test].attempts_default
to 1
, the test--of course--passed, even though it consistently failed for a bunch of previous CI runs. Oh, and how marvelous. CI just passed after reverting the commit that lowered attempts_default.
I love reproducibility heisenbugs 🤦broad-processor-92400
12/12/2024, 9:37 PMproud-dentist-22844
12/13/2024, 12:22 AM