You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Create a dedicated build for flaky tests. Tests could be marked flaky by adding Flaky in the test name so we can use go test -skip .*Flaky / go test -run .*Flaky to control when flaky tests are run.
Retry flaky tests in a dedicated build. This could use some existing merge queue solutions for GitHub, if it works for us, or a dedicated build we design
The text was updated successfully, but these errors were encountered:
Could we also run the tests using -count X so they are run a couple of times? Slower test runs, but it increases the chance that we catch flaky tests when they are introduced.
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:
Flaky
in the test name so we can usego test -skip .*Flaky
/go test -run .*Flaky
to control when flaky tests are run.The text was updated successfully, but these errors were encountered: