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

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

Issue 2808273006: Landing Recent QUIC changes until Sun Apr 9 16:12:55 (Closed)
Patch Set: increment enabled_options in e2e test Created 3 years, 8 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_crypto_client_stream_test.cc ('k') | net/quic/core/quic_data_reader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_crypto_server_stream_test.cc
diff --git a/net/quic/core/quic_crypto_server_stream_test.cc b/net/quic/core/quic_crypto_server_stream_test.cc
index ad3c54e530ffd78884a6cd9ad76df829061dcb41..d6e845c64db4ffda3144b7f7694b7e85c93d0331 100644
--- a/net/quic/core/quic_crypto_server_stream_test.cc
+++ b/net/quic/core/quic_crypto_server_stream_test.cc
@@ -257,7 +257,8 @@ TEST_P(QuicCryptoServerStreamTest, StatelessRejectAfterCHLO) {
client_state->GetNextServerDesignatedConnectionId();
const QuicConnectionId expected_id =
server_connection_->random_generator()->RandUint64();
- EXPECT_EQ(expected_id, server_designated_connection_id);
+ EXPECT_EQ(GetPeerInMemoryConnectionId(expected_id),
+ server_designated_connection_id);
EXPECT_FALSE(client_state->has_server_designated_connection_id());
ASSERT_TRUE(client_state->IsComplete(QuicWallTime::FromUNIXSeconds(0)));
}
@@ -284,7 +285,8 @@ TEST_P(QuicCryptoServerStreamTest, ConnectedAfterStatelessHandshake) {
client_state->GetNextServerDesignatedConnectionId();
const QuicConnectionId expected_id =
server_connection_->random_generator()->RandUint64();
- EXPECT_EQ(expected_id, server_designated_connection_id);
+ EXPECT_EQ(GetPeerInMemoryConnectionId(expected_id),
+ server_designated_connection_id);
EXPECT_FALSE(client_state->has_server_designated_connection_id());
ASSERT_TRUE(client_state->IsComplete(QuicWallTime::FromUNIXSeconds(0)));
« no previous file with comments | « net/quic/core/quic_crypto_client_stream_test.cc ('k') | net/quic/core/quic_data_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698