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

Unified Diff: net/quic/quic_stream_factory_test.cc

Issue 851503003: Update from https://crrev.com/311076 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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/quic_stream_factory.cc ('k') | net/quic/reliable_quic_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_stream_factory_test.cc
diff --git a/net/quic/quic_stream_factory_test.cc b/net/quic/quic_stream_factory_test.cc
index 9248dcf91feb4cf941147ee36138367fc4e25e70..345b818dc8bfa1c9b6d4c58d17a9a9002771312c 100644
--- a/net/quic/quic_stream_factory_test.cc
+++ b/net/quic/quic_stream_factory_test.cc
@@ -165,6 +165,7 @@ class QuicStreamFactoryTest : public ::testing::TestWithParam<QuicVersion> {
/*load_server_info_timeout=*/0u,
/*disable_loading_server_info_for_new_servers=*/false,
/*load_server_info_timeout_srtt_multiplier=*/0.0f,
+ /*enable_truncated_connection_ids=*/true,
QuicTagVector()),
host_port_pair_(kDefaultServerHostName, kDefaultServerPort),
is_https_(false),
@@ -1093,8 +1094,8 @@ TEST_P(QuicStreamFactoryTest, MaxOpenStream) {
HttpRequestInfo request_info;
std::vector<QuicHttpStream*> streams;
// The MockCryptoClientStream sets max_open_streams to be
- // 2 * kDefaultMaxStreamsPerConnection.
- for (size_t i = 0; i < 2 * kDefaultMaxStreamsPerConnection; i++) {
+ // kDefaultMaxStreamsPerConnection / 2.
+ for (size_t i = 0; i < kDefaultMaxStreamsPerConnection / 2; i++) {
QuicStreamRequest request(&factory_);
int rv = request.Request(host_port_pair_,
is_https_,
« no previous file with comments | « net/quic/quic_stream_factory.cc ('k') | net/quic/reliable_quic_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698