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

Unified Diff: net/quic/quic_session_test.cc

Issue 661423005: Fix test which times out when FLAGS_quic_allow_more_open_streams is (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Restoring_tests_incorrectly_removed_77791119
Patch Set: Created 6 years, 2 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/tools/quic/end_to_end_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_session_test.cc
diff --git a/net/quic/quic_session_test.cc b/net/quic/quic_session_test.cc
index 1522f201d7d245ce10719d4262c824b76a6b8580..0a5032e70885846adb43ec89de5e6c7415a9c675 100644
--- a/net/quic/quic_session_test.cc
+++ b/net/quic/quic_session_test.cc
@@ -995,7 +995,8 @@ TEST_P(QuicSessionTest, WindowUpdateUnblocksHeadersStream) {
TEST_P(QuicSessionTest, TooManyUnfinishedStreamsCauseConnectionClose) {
// If a buggy/malicious peer creates too many streams that are not ended with
// a FIN or RST then we send a connection close.
- FLAGS_close_quic_connection_unfinished_streams_2 = true;
+ ValueRestore<bool> old_flag(&FLAGS_close_quic_connection_unfinished_streams_2,
+ true);
EXPECT_CALL(*connection_,
SendConnectionClose(QUIC_TOO_MANY_UNFINISHED_STREAMS)).Times(1);
« no previous file with comments | « no previous file | net/tools/quic/end_to_end_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698