| Index: components/cronet/url_request_context_config_unittest.cc
|
| diff --git a/components/cronet/url_request_context_config_unittest.cc b/components/cronet/url_request_context_config_unittest.cc
|
| index 24bbfaa61ba200f4b30c6d79fe7179dbf4cdad5b..2fa6ae10c8bb92dd1d6d2bfdf6971d73a3ecc500 100644
|
| --- a/components/cronet/url_request_context_config_unittest.cc
|
| +++ b/components/cronet/url_request_context_config_unittest.cc
|
| @@ -38,6 +38,7 @@ TEST(URLRequestContextConfigTest, SetQuicExperimentalOptions) {
|
| "\"delay_tcp_race\":true,"
|
| "\"max_number_of_lossy_connections\":10,"
|
| "\"packet_loss_threshold\":0.5,"
|
| + "\"idle_connection_timeout_seconds\":300,"
|
| "\"connection_options\":\"TIME,TBBR,REJ\"},"
|
| "\"AsyncDNS\":{\"enable\":true}}",
|
| // Data reduction proxy key.
|
| @@ -77,6 +78,9 @@ TEST(URLRequestContextConfigTest, SetQuicExperimentalOptions) {
|
| EXPECT_EQ(10, params->quic_max_number_of_lossy_connections);
|
| EXPECT_FLOAT_EQ(0.5f, params->quic_packet_loss_threshold);
|
|
|
| + // Check idle_connection_timeout_seconds.
|
| + EXPECT_EQ(300, params->quic_idle_connection_timeout_seconds);
|
| +
|
| // Check AsyncDNS resolver is enabled.
|
| EXPECT_NE(nullptr, context->host_resolver()->GetDnsConfigAsValue());
|
| }
|
|
|