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 a0cef2abd3d616e890b8e029db4205f8f90d0382..a3f716f5e02e5d482e7dfa7b6b931ac1e5d313ff 100644 |
--- a/components/cronet/url_request_context_config_unittest.cc |
+++ b/components/cronet/url_request_context_config_unittest.cc |
@@ -47,6 +47,7 @@ TEST(URLRequestContextConfigTest, SetQuicExperimentalOptions) { |
"\"idle_connection_timeout_seconds\":300," |
"\"close_sessions_on_ip_change\":true," |
"\"connection_options\":\"TIME,TBBR,REJ\"}," |
+ "\"race_cert_verification\":true," |
mef
2016/07/08 19:18:37
Hrm, I think this should still fail, right?
ramant (doing other things)
2016/07/08 21:10:10
You are right. Moved line#50 to after line#48. Was
|
"\"AsyncDNS\":{\"enable\":true}}", |
// Data reduction proxy key. |
"", |
@@ -103,6 +104,9 @@ TEST(URLRequestContextConfigTest, SetQuicExperimentalOptions) { |
EXPECT_TRUE(params->quic_close_sessions_on_ip_change); |
EXPECT_FALSE(params->quic_migrate_sessions_on_network_change); |
+ // Check race_cert_verification. |
+ EXPECT_TRUE(params->quic_race_cert_verification); |
+ |
// Check AsyncDNS resolver is enabled. |
EXPECT_TRUE(context->host_resolver()->GetDnsConfigAsValue()); |
} |