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

Current error paths of TestV3WatchFromCurrentRevision don't clean the used resources including goroutines. Because go's tests are executed continuously in a single process, the leaked goroutines makes error logs bloated like the below case: https://jenkins-etcd-public.prod.coreos.systems/job/etcd-coverage/2143/ This commit lets the error paths clean the resources.