diff --git a/test/common/quic/envoy_quic_client_stream_test.cc b/test/common/quic/envoy_quic_client_stream_test.cc index 23b3f8aa8d77..3cda1218570a 100644 --- a/test/common/quic/envoy_quic_client_stream_test.cc +++ b/test/common/quic/envoy_quic_client_stream_test.cc @@ -577,16 +577,6 @@ TEST_P(EnvoyQuicClientStreamTest, CloseConnectionDuringDecodingTrailer) { } } -TEST_P(EnvoyQuicClientStreamTest, MetadataNotSupported) { - Http::MetadataMap metadata_map = {{"key", "value"}}; - Http::MetadataMapPtr metadata_map_ptr = std::make_unique(metadata_map); - Http::MetadataMapVector metadata_map_vector; - metadata_map_vector.push_back(std::move(metadata_map_ptr)); - quic_stream_->encodeMetadata(metadata_map_vector); - EXPECT_EQ(1, TestUtility::findCounter(scope_, "http3.metadata_not_supported_error")->value()); - EXPECT_CALL(stream_callbacks_, onResetStream(_, _)); -} - // Tests that posted stream block callback won't cause use-after-free crash. TEST_P(EnvoyQuicClientStreamTest, ReadDisabledBeforeClose) { const auto result = quic_stream_->encodeHeaders(request_headers_, /*end_stream=*/true); diff --git a/test/integration/quic_http_integration_test.cc b/test/integration/quic_http_integration_test.cc index 1e1cc4def191..e986fd6f6470 100644 --- a/test/integration/quic_http_integration_test.cc +++ b/test/integration/quic_http_integration_test.cc @@ -336,7 +336,7 @@ TEST_P(QuicHttpIntegrationTest, UpstreamReadDisabledOnGiantResponseBody) { } TEST_P(QuicHttpIntegrationTest, DownstreamReadDisabledOnGiantPost) { - config_helper_.addConfigModifier(ConfigHelper::adjustUpstreamTimeoutForTsan); + config_helper_.addConfigModifier(setUpstreamTimeout); config_helper_.setBufferLimits(/*upstream_buffer_limit=*/1024, /*downstream_buffer_limit=*/1024); testRouterRequestAndResponseWithBody(/*request_size=*/10 * 1024 * 1024, /*response_size=*/1024, false);