| Index: net/tools/quic/end_to_end_test.cc
|
| diff --git a/net/tools/quic/end_to_end_test.cc b/net/tools/quic/end_to_end_test.cc
|
| index c9c73f3d0bd6669c4ea03f37b590f0c491b2e9b1..25779259714f4383c0fc894ef25c34055b8444a5 100644
|
| --- a/net/tools/quic/end_to_end_test.cc
|
| +++ b/net/tools/quic/end_to_end_test.cc
|
| @@ -636,9 +636,6 @@ TEST_P(EndToEndTest, DISABLED_LargePostZeroRTTFailure) {
|
| }
|
|
|
| TEST_P(EndToEndTest, LargePostFEC) {
|
| - // TODO(jri): Set FecPolicy to always protect on client_->stream_.
|
| - // This test currently does not do any FEC protection.
|
| -
|
| // Connect without packet loss to avoid issues with losing handshake packets,
|
| // and then up the packet loss rate (b/10126687).
|
| ASSERT_TRUE(Initialize());
|
| @@ -650,7 +647,9 @@ TEST_P(EndToEndTest, LargePostFEC) {
|
| // Enable FEC protection.
|
| QuicPacketCreator* creator = QuicConnectionPeer::GetPacketCreator(
|
| client_->client()->session()->connection());
|
| - creator->set_max_packets_per_fec_group(6);
|
| + creator->set_max_packets_per_fec_group(3);
|
| + // Set FecPolicy to always protect data on all streams.
|
| + client_->SetFecPolicy(PROTECT_ALWAYS);
|
|
|
| string body;
|
| GenerateBody(&body, 10240);
|
|
|