grpcproxy, etcdmain, integration: add close channel to kv proxy

ccache launches goroutines that need to be explicitly stopped.

Fixes #7158
This commit is contained in:
Anthony Romano
2017-01-13 16:20:09 -08:00
committed by Gyu-Ho Lee
parent 6c8f1986c8
commit c2e8d06eec
5 changed files with 30 additions and 14 deletions

View File

@ -76,7 +76,7 @@ func newKVProxyServer(endpoints []string, t *testing.T) *kvproxyTestServer {
t.Fatal(err)
}
kvp := NewKvProxy(client)
kvp, _ := NewKvProxy(client)
kvts := &kvproxyTestServer{
kp: kvp,