mirror of
https://github.com/gravitational/teleport.git
synced 2026-09-24 16:17:11 +08:00
Fix flaky unit tests Addresses issues causing failures in TestCache_Backoff, TestTeleportProcess_reconnectToAuth and TestResourceWatcher_Backoff. By utilizing FakeClock.BlockUntil tests ensure that the clock will not be advanced until retry.After has been called. Move retry duration channels to config in order to allow them to be buffered by tests.