Skip to content

Allow flaky test TestLimiter to fail in CI with warning

This change keeps our tech debt visible without disabling flaky tests in CI. Rather than ignore a test completely, this will add a new set of jobs to our pipeline that emits warnings when a flaky test fails. Any Go test that starts with "TestFlaky" will be run in these new jobs. Any test with the statement buildhelper.SkipFlakyTest(t) that meets criteria (i.e. starts with TestFlaky and the environment variable ENABLE_FLAKY_TESTS is set to "1") will be skipped in the regular test jobs.

Closes #2574 (closed)

Follow up issue: #2588 (closed)

Edited by Paul Okstad (ex-GitLab)

Merge request reports

Loading