From b8b074f41fd16915f520cfbde6229cbe9a01ecd0 Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Mon, 25 Jan 2016 15:31:48 -0800 Subject: [PATCH] Disable closing of the httptest Server due to https://github.com/golang/go/issues/12262 --- pkg/storage/etcd/testing/utils.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/storage/etcd/testing/utils.go b/pkg/storage/etcd/testing/utils.go index 6185b36b6f1..7dc65b6de47 100644 --- a/pkg/storage/etcd/testing/utils.go +++ b/pkg/storage/etcd/testing/utils.go @@ -155,7 +155,8 @@ func (m *EtcdTestServer) Terminate(t *testing.T) { time.Sleep(250 * time.Millisecond) for _, hs := range m.hss { hs.CloseClientConnections() - hs.Close() + // TODO: Uncomment when fix #19254 + // hs.Close() } if err := os.RemoveAll(m.ServerConfig.DataDir); err != nil { t.Fatal(err)