the Chromium logo

The Chromium Projects

Fixing Flaky Tests


Flaky tests are tests that pass sometimes and fail other times. There are many causes of test flakiness, some general, some specific to kind of test suite the test is in. This page collects information about reproducing, investigating and fixing various kinds of flaky tests, and some tips for writing tests that won't flake.