mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 07:57:35 +00:00
Uncomment the code that cause by #19254
This commit is contained in:
@@ -70,8 +70,7 @@ func testHTTPContainerInfoGetter(
|
||||
t.Fatal(err)
|
||||
}
|
||||
}))
|
||||
// TODO: Uncomment when fix #19254
|
||||
// defer ts.Close()
|
||||
defer ts.Close()
|
||||
hostURL, err := url.Parse(ts.URL)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
@@ -172,8 +171,7 @@ func TestHTTPGetMachineInfo(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
}))
|
||||
// TODO: Uncomment when fix #19254
|
||||
// defer ts.Close()
|
||||
defer ts.Close()
|
||||
hostURL, err := url.Parse(ts.URL)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user