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

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

Issue 2678003003: Make QUIC force HOL-blocking mode only apply to v36. This is basically a no-op since neither v36 no… (Closed)
Patch Set: fix two chromium tests. Created 3 years, 10 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/chromium/quic_stream_factory_test.cc ('k') | net/quic/core/quic_spdy_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_session_test.cc
diff --git a/net/quic/core/quic_session_test.cc b/net/quic/core/quic_session_test.cc
index 84c8db3e1289b50a589d142abce8152d93c4bf6a..edc935699b0d5a22873cf9c26ef9297db118ca79 100644
--- a/net/quic/core/quic_session_test.cc
+++ b/net/quic/core/quic_session_test.cc
@@ -1220,7 +1220,7 @@ TEST_P(QuicSessionTestServer, TestMaxIncomingAndOutgoingStreamsAllowed) {
TEST_P(QuicSessionTestServer, EnableFHOLThroughConfigOption) {
QuicConfigPeer::SetReceivedForceHolBlocking(session_.config());
session_.OnConfigNegotiated();
- if (version() <= QUIC_VERSION_35) {
+ if (version() != QUIC_VERSION_36) {
EXPECT_FALSE(session_.force_hol_blocking());
} else {
EXPECT_TRUE(session_.force_hol_blocking());
@@ -1305,7 +1305,7 @@ TEST_P(QuicSessionTestClient, EnableDHDTThroughConnectionOption) {
TEST_P(QuicSessionTestClient, EnableFHOLThroughConfigOption) {
session_.config()->SetForceHolBlocking();
session_.OnConfigNegotiated();
- if (version() <= QUIC_VERSION_35) {
+ if (version() != QUIC_VERSION_36) {
EXPECT_FALSE(session_.force_hol_blocking());
} else {
EXPECT_TRUE(session_.force_hol_blocking());
« no previous file with comments | « net/quic/chromium/quic_stream_factory_test.cc ('k') | net/quic/core/quic_spdy_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698