mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 15:37:24 +00:00
Uncomment the code that cause by #19254
This commit is contained in:
@@ -35,8 +35,7 @@ import (
|
||||
|
||||
func testPrefix(t *testing.T, prefix string) {
|
||||
_, s := framework.RunAMaster(t)
|
||||
// TODO: Uncomment when fix #19254
|
||||
// defer s.Close()
|
||||
defer s.Close()
|
||||
|
||||
resp, err := http.Get(s.URL + prefix)
|
||||
if err != nil {
|
||||
@@ -65,8 +64,7 @@ func TestExtensionsPrefix(t *testing.T) {
|
||||
|
||||
func TestWatchSucceedsWithoutArgs(t *testing.T) {
|
||||
_, s := framework.RunAMaster(t)
|
||||
// TODO: Uncomment when fix #19254
|
||||
// defer s.Close()
|
||||
defer s.Close()
|
||||
|
||||
resp, err := http.Get(s.URL + "/api/v1/namespaces?watch=1")
|
||||
if err != nil {
|
||||
@@ -306,8 +304,7 @@ func TestBatchGroupBackwardCompatibility(t *testing.T) {
|
||||
|
||||
func TestAccept(t *testing.T) {
|
||||
_, s := framework.RunAMaster(t)
|
||||
// TODO: Uncomment when fix #19254
|
||||
// defer s.Close()
|
||||
defer s.Close()
|
||||
|
||||
resp, err := http.Get(s.URL + "/api/")
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user