mirror of https://github.com/k3s-io/k3s
Disable closing of the httptest Server due to https://github.com/golang/go/issues/12262
parent
10f7985dfb
commit
b8b074f41f
|
@ -155,7 +155,8 @@ func (m *EtcdTestServer) Terminate(t *testing.T) {
|
||||||
time.Sleep(250 * time.Millisecond)
|
time.Sleep(250 * time.Millisecond)
|
||||||
for _, hs := range m.hss {
|
for _, hs := range m.hss {
|
||||||
hs.CloseClientConnections()
|
hs.CloseClientConnections()
|
||||||
hs.Close()
|
// TODO: Uncomment when fix #19254
|
||||||
|
// hs.Close()
|
||||||
}
|
}
|
||||||
if err := os.RemoveAll(m.ServerConfig.DataDir); err != nil {
|
if err := os.RemoveAll(m.ServerConfig.DataDir); err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
|
|
Loading…
Reference in New Issue