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

Make sure that all of the servers exit before we return by using a WaitGroup in each handler. This was used to help track down the issue with the TestDiscoverySecondPeerUp test and the hung go-etcd watcher.