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

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

Issue 2569723004: relnote: Protected by --quic_fix_beta_last_max. Fix conservative decrease for n-connection emulatio… (Closed)
Patch Set: Created 4 years 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
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 0bafc0b8f5f169f404d2d5f83dae63344cd9e0bc..c5e5324fcb718fd75f81005dc54f56907018f699 100644
--- a/net/quic/core/congestion_control/send_algorithm_test.cc
+++ b/net/quic/core/congestion_control/send_algorithm_test.cc
@@ -60,7 +60,7 @@ const QuicTime::Delta kLocalPropagationDelay =
const QuicBandwidth kTestLinkWiredBandwidth =
QuicBandwidth::FromKBitsPerSecond(4000);
const QuicTime::Delta kTestLinkWiredPropagationDelay =
- QuicTime::Delta::FromMilliseconds(30);
+ QuicTime::Delta::FromMilliseconds(50);
const QuicTime::Delta kTestWiredTransferTime =
kTestLinkWiredBandwidth.TransferTime(kMaxPacketSize) +
kLocalLinkBandwidth.TransferTime(kMaxPacketSize);
@@ -77,7 +77,7 @@ const QuicByteCount kTestWiredBdp = kTestWiredRtt * kTestLinkWiredBandwidth;
const QuicBandwidth kTestLinkLowBdpBandwidth =
QuicBandwidth::FromKBitsPerSecond(200);
const QuicTime::Delta kTestLinkLowBdpPropagationDelay =
- QuicTime::Delta::FromMilliseconds(30);
+ QuicTime::Delta::FromMilliseconds(50);
const QuicByteCount kTestPolicerQueue = kMaxPacketSize;
// Satellite network settings. In a satellite network, the bottleneck
@@ -195,6 +195,10 @@ class SendAlgorithmTest : public ::testing::TestWithParam<TestParams> {
options.push_back(kCBQT);
}
+ if (FLAGS_quic_fix_beta_last_max) {
+ options.push_back(kBLMX);
+ }
+
if (!options.empty()) {
client_config.SetInitialReceivedConnectionOptions(options);
sender_->SetFromConfig(client_config, Perspective::IS_SERVER);
« no previous file with comments | « net/quic/core/congestion_control/cubic_test.cc ('k') | net/quic/core/congestion_control/tcp_cubic_sender_bytes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698