Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compactor: wait for After() in TestPeriodic
If the test calls clock.Advance() after the compactor checks clock.Now() but before the compactor calls clock.After(), the compactor will wait forever on clock.After() expecting the lost clock.Advance(). Reproduced failure by putting a Sleep() in the clock.Now() continue path. Fixes #6060 (again)
- Loading branch information