spiffe / spire

The SPIFFE Runtime Environment
https://spiffe.io
Apache License 2.0
1.8k stars 475 forks source link

Improve process for handling flaky tests #5590

Open rturner3 opened 4 weeks ago

rturner3 commented 4 weeks ago

A single flaky test currently causes the PR unit test status check to fail. This increases the latency to merge the PR because someone has to rerun the failed status check after the whole set of builds completes. Repeated failures of flaky tests on a PR makes this problem even worse.

While flaky tests are being analyzed and fixed, it would be good to have a way to prevent tests that are designated as flaky from failing PR status checks on a single failure. Some rough ideas:

edwbuck commented 1 week ago

@rturner3 Some segregation of the flapping tests would be greatly appreciated. 👍