Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
Signed-off-by: Yan Avlasov <yavlasov@google.com>
  • Loading branch information
yanavlasov committed Oct 7, 2020
1 parent 8e86b13 commit 4ac889c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/integration/http2_integration_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1992,6 +1992,7 @@ TEST_P(Http2FloodMitigationTest, RST_STREAM) {
test_server_->counter("http.config_test.downstream_cx_delayed_close_timeout")->value());
}

// Verify detection of frame flood when sending second GOAWAY frame on drain timeout
TEST_P(Http2FloodMitigationTest, GoAwayOverflowOnDrainTimeout) {
config_helper_.addConfigModifier(
[](envoy::extensions::filters::network::http_connection_manager::v3::HttpConnectionManager&
Expand All @@ -2003,7 +2004,7 @@ TEST_P(Http2FloodMitigationTest, GoAwayOverflowOnDrainTimeout) {

auto* http_protocol_options = hcm.mutable_common_http_protocol_options();
auto* idle_time_out = http_protocol_options->mutable_idle_timeout();
idle_time_out->set_seconds(seconds.count());
idle_time_out->set_seconds(seconds.count());
});
// pre-fill two away from overflow
prefillOutboundDownstreamQueue(AllFrameFloodLimit - 2);
Expand Down

0 comments on commit 4ac889c

Please sign in to comment.