mirror of
https://github.com/gravitational/teleport.git
synced 2026-10-16 07:44:31 +08:00
TeleInstance manages an auth server and a set of proxies/nodes. TeleInstance.Stop only stops the auth server. A bunch of tests used it assuming it also cleans up any running nodes. This has caused a lot of log spam from failing heartbeats and generally wasted CPU cycles. Rename it to Stop to StopAuth to make it's purpose more obvious. Add TeleInstance.StopAll that cleans up everything, suitable for deferring in tests.