mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
Comment out calls to httptest.Server.Close() to work around
https://github.com/golang/go/issues/12262 . See #19254 for more details. This change should be reverted when we upgrade to Go 1.6.
This commit is contained in:
@@ -180,6 +180,7 @@ func newServerTest() *serverTestFramework {
|
||||
}
|
||||
server := NewServer(fw.fakeKubelet, fw.fakeAuth, true)
|
||||
fw.serverUnderTest = &server
|
||||
// TODO: Close() this when fix #19254
|
||||
fw.testHTTPServer = httptest.NewServer(fw.serverUnderTest)
|
||||
return fw
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user