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))); |