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

gexpect.Interact leaks. This adds ReadLine method to wait for the leaky goroutine to accept an EOF. Fixes https://github.com/coreos/etcd/issues/4258. Reference: https://github.com/coreos/etcd/pull/4261#issuecomment-174198945.