Add an attribute to allow retrying flaky tests. Something like [Retries(1)] to run the test (at most) twice.
[Retries(1)]