Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: net/tools/quic/end_to_end_test.cc

Issue 1784903003: Remove FEC from send path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@114770052
Patch Set: Restore accidentally removed OnRttChanged call Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/test_tools/reliable_quic_stream_peer.cc ('k') | net/tools/quic/quic_client_session_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2b6ea27ac890676f39af0bd7bb668f92bee5ecfa..cf9a0e1c94bf41e9c908027c686ac1ac8081ef6c 100644
--- a/net/tools/quic/end_to_end_test.cc
+++ b/net/tools/quic/end_to_end_test.cc
@@ -973,30 +973,6 @@ TEST_P(EndToEndTest, SetInitialReceivedConnectionOptions) {
ContainsQuicTag(server_config_.ReceivedConnectionOptions(), kPRST));
}
-TEST_P(EndToEndTest, CorrectlyConfiguredFec) {
- ASSERT_TRUE(Initialize());
- client_->client()->WaitForCryptoHandshakeConfirmed();
- server_thread_->WaitForCryptoHandshakeConfirmed();
-
- FecPolicy expected_policy = FEC_PROTECT_OPTIONAL;
-
- // Verify that server's FEC configuration is correct.
- server_thread_->Pause();
- QuicDispatcher* dispatcher =
- QuicServerPeer::GetDispatcher(server_thread_->server());
- ASSERT_EQ(1u, dispatcher->session_map().size());
- QuicSpdySession* session = dispatcher->session_map().begin()->second;
- EXPECT_EQ(expected_policy,
- QuicSpdySessionPeer::GetHeadersStream(session)->fec_policy());
- server_thread_->Resume();
-
- // Verify that client's FEC configuration is correct.
- EXPECT_EQ(expected_policy,
- QuicSpdySessionPeer::GetHeadersStream(client_->client()->session())
- ->fec_policy());
- EXPECT_EQ(expected_policy, client_->GetOrCreateStream()->fec_policy());
-}
-
TEST_P(EndToEndTest, LargePostSmallBandwidthLargeBuffer) {
ASSERT_TRUE(Initialize());
SetPacketSendDelay(QuicTime::Delta::FromMicroseconds(1));
« no previous file with comments | « net/quic/test_tools/reliable_quic_stream_peer.cc ('k') | net/tools/quic/quic_client_session_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698