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

Unified Diff: net/quic/core/congestion_control/send_algorithm_test.cc

Issue 2887803002: SendAlgorithmTest should set pacing consistently. Test only. (Closed)
Patch Set: Created 3 years, 7 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 | « no previous file | net/quic/test_tools/quic_sent_packet_manager_peer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/congestion_control/send_algorithm_test.cc
diff --git a/net/quic/core/congestion_control/send_algorithm_test.cc b/net/quic/core/congestion_control/send_algorithm_test.cc
index 134b2de9c51eae5b8ef6e8bb77efc779b4fbf0bb..c2d6632028ca79f4fe21a5a7f9cbec5ce037e36a 100644
--- a/net/quic/core/congestion_control/send_algorithm_test.cc
+++ b/net/quic/core/congestion_control/send_algorithm_test.cc
@@ -232,7 +232,13 @@ class SendAlgorithmTest : public QuicTestWithParam<TestParams> {
SetExperimentalOptionsInServerConfig();
QuicConnectionPeer::SetSendAlgorithm(quic_sender_.connection(), sender_);
-
+ // TODO(jokulik): Remove once b/38032710 is fixed.
+ // Disable pacing for PCC.
+ if (sender_->GetCongestionControlType() == kPCC) {
+ QuicSentPacketManagerPeer::SetUsingPacing(
+ QuicConnectionPeer::GetSentPacketManager(quic_sender_.connection()),
+ false);
+ }
clock_ = simulator_.GetClock();
simulator_.set_random_generator(&random_);
« no previous file with comments | « no previous file | net/quic/test_tools/quic_sent_packet_manager_peer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698