mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
Uncomment the code that cause by #19254
This commit is contained in:
@@ -40,8 +40,7 @@ import (
|
||||
|
||||
func TestClient(t *testing.T) {
|
||||
_, s := framework.RunAMaster(t)
|
||||
// TODO: Uncomment when fix #19254
|
||||
// defer s.Close()
|
||||
defer s.Close()
|
||||
|
||||
ns := api.NamespaceDefault
|
||||
framework.DeleteAllEtcdKeys()
|
||||
@@ -111,8 +110,7 @@ func TestClient(t *testing.T) {
|
||||
|
||||
func TestSingleWatch(t *testing.T) {
|
||||
_, s := framework.RunAMaster(t)
|
||||
// TODO: Uncomment when fix #19254
|
||||
// defer s.Close()
|
||||
defer s.Close()
|
||||
|
||||
ns := "blargh"
|
||||
deleteAllEtcdKeys()
|
||||
@@ -197,8 +195,7 @@ func TestMultiWatch(t *testing.T) {
|
||||
framework.DeleteAllEtcdKeys()
|
||||
defer framework.DeleteAllEtcdKeys()
|
||||
_, s := framework.RunAMaster(t)
|
||||
// TODO: Uncomment when fix #19254
|
||||
// defer s.Close()
|
||||
defer s.Close()
|
||||
|
||||
ns := api.NamespaceDefault
|
||||
client := client.NewOrDie(&restclient.Config{Host: s.URL, ContentConfig: restclient.ContentConfig{GroupVersion: testapi.Default.GroupVersion()}})
|
||||
|
||||
Reference in New Issue
Block a user