A test intermittently fails because it depends on timing against a shared external service. What is the best long-term response?

Published
  1. Permanently ignore every failure from the test suite
  2. Mark the test as successful without executing it
  3. Identify and isolate the nondeterministic dependency and improve the test's synchronization or environment
  4. Retry forever until one run passes

Comments — 0