Disable closing of the httptest Server due to https://github.com/golang/go/issues/12262

pull/6/head
Brendan Burns 2016-01-25 15:31:48 -08:00
parent 10f7985dfb
commit b8b074f41f
1 changed files with 2 additions and 1 deletions

View File

@ -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)