From 12d6835ac69da9ee2f5422ae56f2482cd65ca0b4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 25 Jun 2026 01:41:21 +0000 Subject: [PATCH 1/2] Initial plan From fc6525709ea1b85aae7d154fdcc815efc32dfbd7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 25 Jun 2026 01:50:35 +0000 Subject: [PATCH 2/2] test: clean up failed oauth refresh flow Co-authored-by: yanavlasov <6360027+yanavlasov@users.noreply.github.com> --- test/extensions/filters/http/oauth2/oauth_integration_test.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/extensions/filters/http/oauth2/oauth_integration_test.cc b/test/extensions/filters/http/oauth2/oauth_integration_test.cc index e8abda8dc409b..8608314fde69f 100644 --- a/test/extensions/filters/http/oauth2/oauth_integration_test.cc +++ b/test/extensions/filters/http/oauth2/oauth_integration_test.cc @@ -471,6 +471,10 @@ name: oauth waitForOAuth2Response(token_secret, expect_failure); if (expect_failure) { + response->waitForHeaders(); + EXPECT_EQ("302", response->headers().getStatusValue()); + RELEASE_ASSERT(response->waitForEndStream(), "unexpected timeout"); + cleanup(); return; }