Closed iand closed 2 years ago
Updated to use require.Eventually. We lose the ability to abort the test early on a non-expected error and there is an arbitrary 30 second cutoff but it makes the test more deterministic than the arbitrary sleeps.
Hmm. Seems my guess of 30s timeout is too low. Would much prefer not to have to make these kinds of guesses.
Increased to 5 minutes
Still failing. Using require.Eventually doesn't help fix these flakes.
Still seems flaky compared with the original change.
Let's use the original change then? Sorry for the confusion.
Rebased back to the original. It's not clear to me why require.Eventually performs so poorly when with this version all tests pass within 2 minutes.
@marten-seemann
Also speeds up tests locally since most propagation happens in much less than 1 second