Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/config/utility.cc
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ std::string ConfigHelper::httpProxyConfig(bool downstream_use_quic) {
"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
stat_prefix: config_test
delayed_close_timeout:
nanos: 100
nanos: 10000000
http_filters:
name: envoy.filters.http.router
codec_type: HTTP1
Expand Down
8 changes: 4 additions & 4 deletions test/integration/integration_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -458,12 +458,12 @@ name: matcher

initialize();

codec_client_ = makeHttpConnection(lookupPort("http"));

{
codec_client_ = makeHttpConnection(lookupPort("http"));
auto response = codec_client_->makeRequestWithBody(default_request_headers_, 1024);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The call to makeHttpConnection in line 461 should be moved here (as is done in the other test that was updated).

ASSERT_TRUE(response->waitForEndStream());
EXPECT_THAT(response->headers(), HttpStatusIs("403"));
codec_client_->close();
}

{
Expand Down Expand Up @@ -524,12 +524,12 @@ name: matcher

initialize();

codec_client_ = makeHttpConnection(lookupPort("http"));

{
codec_client_ = makeHttpConnection(lookupPort("http"));
auto response = codec_client_->makeRequestWithBody(default_request_headers_, 1024);
ASSERT_TRUE(response->waitForEndStream());
EXPECT_THAT(response->headers(), HttpStatusIs("403"));
codec_client_->close();
}

{
Expand Down
2 changes: 1 addition & 1 deletion test/integration/multiplexed_integration_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1345,7 +1345,7 @@ TEST_P(MultiplexedIntegrationTest, DelayedCloseDisabled) {
EXCLUDE_DOWNSTREAM_HTTP3; // Needs HTTP/3 "bad frame" equivalent.
config_helper_.addConfigModifier(
[](envoy::extensions::filters::network::http_connection_manager::v3::HttpConnectionManager&
hcm) { hcm.mutable_delayed_close_timeout()->set_seconds(0); });
hcm) { hcm.mutable_delayed_close_timeout()->set_nanos(0); });
initialize();
std::string response;
auto connection = createConnectionDriver(
Expand Down
4 changes: 0 additions & 4 deletions test/integration/protocol_integration_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3454,10 +3454,6 @@ TEST_P(DownstreamProtocolIntegrationTest, HandleDownstreamSocketFail) {
}

TEST_P(ProtocolIntegrationTest, HandleUpstreamSocketFail) {
#ifdef WIN32
// Debug info for https://github.com/envoyproxy/envoy/issues/19430
LogLevelSetter save_levels(spdlog::level::trace);
#endif
SocketInterfaceSwap socket_swap;

useAccessLog("%RESPONSE_CODE_DETAILS%");
Expand Down