mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #98809 from answer1991/feature/enable-goaway-ut
enable goaway testcases
This commit is contained in:
commit
a27a6e78f2
@ -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
|
// TestClientReceivedGOAWAY tests the in-flight watch requests will not be affected and new requests use a new
|
||||||
// connection after client received GOAWAY.
|
// connection after client received GOAWAY.
|
||||||
func TestClientReceivedGOAWAY(t *testing.T) {
|
func TestClientReceivedGOAWAY(t *testing.T) {
|
||||||
t.Skip("disabled because of https://github.com/kubernetes/kubernetes/issues/94622")
|
|
||||||
|
|
||||||
s, err := newTestGOAWAYServer()
|
s, err := newTestGOAWAYServer()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("failed to set-up test GOAWAY http server, err: %v", err)
|
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.
|
// 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) {
|
func TestGOAWAYConcurrency(t *testing.T) {
|
||||||
t.Skip("disabled because of https://github.com/kubernetes/kubernetes/issues/94532")
|
|
||||||
|
|
||||||
s, err := newTestGOAWAYServer()
|
s, err := newTestGOAWAYServer()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("failed to set-up test GOAWAY http server, err: %v", err)
|
t.Fatalf("failed to set-up test GOAWAY http server, err: %v", err)
|
||||||
|
Loading…
Reference in New Issue
Block a user