mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

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)