mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 16:06:51 +00:00
Comment out calls to httptest.Server.Close()
This commit is contained in:
@@ -39,7 +39,8 @@ import (
|
||||
|
||||
func TestClient(t *testing.T) {
|
||||
_, s := framework.RunAMaster(t)
|
||||
defer s.Close()
|
||||
// TODO: Uncomment when fix #19254
|
||||
// defer s.Close()
|
||||
|
||||
ns := api.NamespaceDefault
|
||||
framework.DeleteAllEtcdKeys()
|
||||
@@ -109,7 +110,8 @@ func TestClient(t *testing.T) {
|
||||
|
||||
func TestSingleWatch(t *testing.T) {
|
||||
_, s := framework.RunAMaster(t)
|
||||
defer s.Close()
|
||||
// TODO: Uncomment when fix #19254
|
||||
// defer s.Close()
|
||||
|
||||
ns := "blargh"
|
||||
deleteAllEtcdKeys()
|
||||
@@ -194,7 +196,8 @@ func TestMultiWatch(t *testing.T) {
|
||||
framework.DeleteAllEtcdKeys()
|
||||
defer framework.DeleteAllEtcdKeys()
|
||||
_, s := framework.RunAMaster(t)
|
||||
defer s.Close()
|
||||
// TODO: Uncomment when fix #19254
|
||||
// defer s.Close()
|
||||
|
||||
ns := api.NamespaceDefault
|
||||
client := client.NewOrDie(&client.Config{Host: s.URL, ContentConfig: client.ContentConfig{GroupVersion: testapi.Default.GroupVersion()}})
|
||||
|
||||
Reference in New Issue
Block a user