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

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

Issue 1457233003: Deprecate FLAGS_quic_count_unfinished_as_open_streams. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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_session_test.cc ('k') | net/tools/quic/test_tools/quic_test_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_client_session_test.cc
diff --git a/net/tools/quic/quic_client_session_test.cc b/net/tools/quic/quic_client_session_test.cc
index 67718c1a0c08489c786c03402c872decb479be32..ec0770a22acaed3f95ecac9f7eefe853bbe64b59 100644
--- a/net/tools/quic/quic_client_session_test.cc
+++ b/net/tools/quic/quic_client_session_test.cc
@@ -95,17 +95,10 @@ TEST_P(ToolsQuicClientSessionTest, MaxNumStreamsWithNoFinOrRst) {
// Close the stream, but without having received a FIN or a RST_STREAM
// and check that a new one can not be created.
session_->CloseStream(stream->id());
- if (FLAGS_quic_count_unfinished_as_open_streams) {
- EXPECT_EQ(1u, session_->GetNumOpenStreams());
- } else {
- EXPECT_EQ(0u, session_->GetNumOpenStreams());
- }
+ EXPECT_EQ(1u, session_->GetNumOpenStreams());
+
stream = session_->CreateOutgoingDynamicStream();
- if (FLAGS_quic_count_unfinished_as_open_streams) {
- EXPECT_FALSE(stream);
- } else {
- EXPECT_TRUE(stream);
- }
+ EXPECT_FALSE(stream);
}
TEST_P(ToolsQuicClientSessionTest, MaxNumStreamsWithRst) {
« no previous file with comments | « net/quic/quic_session_test.cc ('k') | net/tools/quic/test_tools/quic_test_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698