Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage/concurrency: add fixed delay in waitForAsyncGoroutinesToStall
This prevents false detection of stalls in a few cases, like when receiving on a buffered channel that already has an element in it. Before this, the first few iterations of `testutils.SucceedsSoon` were so quick that `TestConcurrencyManagerBasic/basic` saw cases where the wrong channel select was detected as a stall point. This occurred ~1/1,000 times. With this change, the test has stood up to over 10,000 iterations of stress.
- Loading branch information