linkerd2-proxy/tests
Sean McArthur 9f5648d955
fix control client Backoff to poll its timer when backing off (#13)
The `Backoff` service wrapper is used for the controller client service
so that if the proxy can't find the controller (there is a connection
error), it doesn't keep trying in a tight loop, but instead waits a
couple seconds before trying again, presuming that the control plane
was rebooting.

When "backing off", a timer would be set, but it wasn't polled, so the
task was never registered to wake up after the delay. This turns out to
not have been a problem in practice, since the background destination
task was joined with other tasks that were constantly waking up,
allowing it to try again anyways.

To add tests for this, a new `ENV_CONTROL_BACKOFF_DELAY` config value
has been added, so that the tests don't have to wait the default 5
seconds.

Signed-off-by: Sean McArthur <sean@buoyant.io>
2018-07-16 12:41:47 -07:00
..
support fix control client Backoff to poll its timer when backing off (#13) 2018-07-16 12:41:47 -07:00
discovery.rs fix control client Backoff to poll its timer when backing off (#13) 2018-07-16 12:41:47 -07:00
shutdown.rs Migrate `conduit-proxy` to `linkerd2-proxy` 2018-07-07 22:45:21 +00:00
telemetry.rs Replace references to _Conduit_ (#6) 2018-07-12 20:41:17 -07:00
transparency.rs Migrate `conduit-proxy` to `linkerd2-proxy` 2018-07-07 22:45:21 +00:00