mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-28 13:45:50 +00:00
Uncomment the code that cause by #19254
This commit is contained in:
@@ -39,8 +39,7 @@ func TestHTTPKubeletClient(t *testing.T) {
|
||||
ResponseBody: string(body),
|
||||
}
|
||||
testServer := httptest.NewServer(&fakeHandler)
|
||||
// TODO: Uncomment when fix #19254
|
||||
// defer testServer.Close()
|
||||
defer testServer.Close()
|
||||
|
||||
if _, err := url.Parse(testServer.URL); err != nil {
|
||||
t.Errorf("unexpected error: %v", err)
|
||||
|
Reference in New Issue
Block a user