Tests that fail only in CI

Back to list2025-01-24
You

Everything passes locally and CI fails at random.

ChatGPT

Three usual causes: leftover state between tests that a fresh CI container does not have, timing assumptions that a slower machine breaks, and a shared resource like a fixed port or a real clock. Run the suite locally in a random order to reproduce the first one.