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

Unified Diff: net/quic/quic_session_test.cc

Issue 683113005: Update from chromium https://crrev.com/302282 (Closed) Base URL: git@github.com:domokit/mojo.git@master
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 | « net/quic/quic_session.cc ('k') | net/quic/quic_unacked_packet_map.h » ('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 77a9e89e623666e2eb4d85318dc549d987f3b1ad..c248460522124797b55d75a34aac38b22c7a963d 100644
--- a/net/quic/quic_session_test.cc
+++ b/net/quic/quic_session_test.cc
@@ -739,7 +739,7 @@ TEST_P(QuicSessionTest, HandshakeUnblocksFlowControlBlockedHeadersStream) {
headers_stream->WriteHeaders(stream_id, headers, true, nullptr);
stream_id += 2;
}
- // Write one more to ensure that the headers stream has buffered data. The
+ // Write once more to ensure that the headers stream has buffered data. The
// random headers may have exactly filled the flow control window.
headers_stream->WriteHeaders(stream_id, headers, true, nullptr);
EXPECT_TRUE(headers_stream->HasBufferedData());
@@ -998,9 +998,6 @@ 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.
- 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 | « net/quic/quic_session.cc ('k') | net/quic/quic_unacked_packet_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698