| Index: chrome/browser/io_thread_unittest.cc
|
| diff --git a/chrome/browser/io_thread_unittest.cc b/chrome/browser/io_thread_unittest.cc
|
| index 2d6a6c607fbe08a9ef70ffbe845c512a097b75bc..2633f43bbff2306aaa3c0b736b3035668f460e7f 100644
|
| --- a/chrome/browser/io_thread_unittest.cc
|
| +++ b/chrome/browser/io_thread_unittest.cc
|
| @@ -170,8 +170,8 @@
|
| EXPECT_FALSE(params.quic_disable_disk_cache);
|
| EXPECT_FALSE(params.quic_prefer_aes);
|
| EXPECT_FALSE(params.use_alternative_services);
|
| - EXPECT_EQ(4, params.quic_max_number_of_lossy_connections);
|
| - EXPECT_EQ(0.5f, params.quic_packet_loss_threshold);
|
| + EXPECT_EQ(0, params.quic_max_number_of_lossy_connections);
|
| + EXPECT_EQ(1.0f, params.quic_packet_loss_threshold);
|
| EXPECT_FALSE(IOThread::ShouldEnableQuicForDataReductionProxy());
|
| }
|
|
|
| @@ -384,11 +384,11 @@
|
|
|
| TEST_F(IOThreadTest, QuicPacketLossThresholdFieldTrialParams) {
|
| field_trial_group_ = "Enabled";
|
| - field_trial_params_["packet_loss_threshold"] = "0.6";
|
| - ConfigureQuicGlobals();
|
| - net::HttpNetworkSession::Params params;
|
| - InitializeNetworkSessionParams(¶ms);
|
| - EXPECT_EQ(0.6f, params.quic_packet_loss_threshold);
|
| + field_trial_params_["packet_loss_threshold"] = "0.5";
|
| + ConfigureQuicGlobals();
|
| + net::HttpNetworkSession::Params params;
|
| + InitializeNetworkSessionParams(¶ms);
|
| + EXPECT_EQ(0.5f, params.quic_packet_loss_threshold);
|
| }
|
|
|
| TEST_F(IOThreadTest, QuicReceiveBufferSize) {
|
|
|