From c343ba7f7b1b69d6840da792a8439d36b0b41bec Mon Sep 17 00:00:00 2001 From: Matt Klein Date: Mon, 3 Aug 2020 16:46:46 -0700 Subject: [PATCH] test: fix http2_integration_test flake (#12450) Fixes https://github.com/envoyproxy/envoy/issues/12442 Signed-off-by: Matt Klein Signed-off-by: chaoqinli --- test/integration/http2_integration_test.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/test/integration/http2_integration_test.cc b/test/integration/http2_integration_test.cc index e99cd9eebbfd..2cc24c148bc7 100644 --- a/test/integration/http2_integration_test.cc +++ b/test/integration/http2_integration_test.cc @@ -830,6 +830,7 @@ TEST_P(Http2IntegrationTest, GrpcRetry) { testGrpcRetry(); } // Verify the case where there is an HTTP/2 codec/protocol error with an active stream. TEST_P(Http2IntegrationTest, CodecErrorAfterStreamStart) { initialize(); + fake_upstreams_[0]->set_allow_unexpected_disconnects(true); codec_client_ = makeHttpConnection(lookupPort("http")); // Sends a request.