Skip to content

Commit

Permalink
fix flaky ext auth e2e (envoyproxy#3221)
Browse files Browse the repository at this point in the history
Signed-off-by: huabing zhao <zhaohuabing@gmail.com>
  • Loading branch information
zhaohuabing authored Apr 19, 2024
1 parent a4b0bd8 commit 2c4d385
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions test/e2e/tests/ext_auth_http_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,7 @@ var HTTPExtAuthTest = suite.ConformanceTest{
Namespace: ns,
}

req := http.MakeRequest(t, &expectedResponse, gwAddr, "HTTP", "http")
cReq, cResp, err := suite.RoundTripper.CaptureRoundTrip(req)
if err != nil {
t.Errorf("failed to get expected response: %v", err)
}

if err := http.CompareRequest(t, &req, cReq, cResp, expectedResponse); err != nil {
t.Errorf("failed to compare request and response: %v", err)
}
http.MakeRequestAndExpectEventuallyConsistentResponse(t, suite.RoundTripper, suite.TimeoutConfig, gwAddr, expectedResponse)
})

t.Run("without Authorization header", func(t *testing.T) {
Expand Down

0 comments on commit 2c4d385

Please sign in to comment.