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

Unified Diff: net/quic/core/quic_stream_sequencer_buffer_test.cc

Issue 2306173003: Add a new QuicFlagSaver class for saving/restoring the values of QUIC flags in tests. (Closed)
Patch Set: Better Created 4 years, 3 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/core/quic_session_test.cc ('k') | net/quic/test_tools/quic_test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_stream_sequencer_buffer_test.cc
diff --git a/net/quic/core/quic_stream_sequencer_buffer_test.cc b/net/quic/core/quic_stream_sequencer_buffer_test.cc
index 7c22bfe2e67f3ef0b82137624c41c5f4950a40c0..f987f9fd6eb5ed210bcc802f73e20f248e2fc54c 100644
--- a/net/quic/core/quic_stream_sequencer_buffer_test.cc
+++ b/net/quic/core/quic_stream_sequencer_buffer_test.cc
@@ -834,6 +834,7 @@ TEST_F(QuicStreamSequencerBufferTest, FlushBufferedFrames) {
}
TEST_F(QuicStreamSequencerBufferTest, TooManyGaps) {
+ QuicFlagSaver flags;
FLAGS_quic_limit_frame_gaps_in_buffer = true;
// Make sure max capacity is large enough that it is possible to have more
// than |kMaxNumGapsAllowed| number of gaps.
« no previous file with comments | « net/quic/core/quic_session_test.cc ('k') | net/quic/test_tools/quic_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698