enable goaway testcases which will not flake any more with new golang.org/x/net version.

This commit is contained in:
answer1991 2021-02-05 23:34:30 +08:00
parent 19c9cf7a20
commit f1b23fe767

View File

@ -299,8 +299,6 @@ func requestGOAWAYServer(client *http.Client, serverBaseURL, url string) (<-chan
// TestClientReceivedGOAWAY tests the in-flight watch requests will not be affected and new requests use a new
// connection after client received GOAWAY.
func TestClientReceivedGOAWAY(t *testing.T) {
t.Skip("disabled because of https://github.com/kubernetes/kubernetes/issues/94622")
s, err := newTestGOAWAYServer()
if err != nil {
t.Fatalf("failed to set-up test GOAWAY http server, err: %v", err)
@ -438,10 +436,7 @@ func TestGOAWAYHTTP1Requests(t *testing.T) {
}
// TestGOAWAYConcurrency tests GOAWAY frame will not affect concurrency requests in a single http client instance.
// Known issues in history: https://github.com/kubernetes/kubernetes/issues/91131.
func TestGOAWAYConcurrency(t *testing.T) {
t.Skip("disabled because of https://github.com/kubernetes/kubernetes/issues/94532")
s, err := newTestGOAWAYServer()
if err != nil {
t.Fatalf("failed to set-up test GOAWAY http server, err: %v", err)