| Index: net/quic/core/crypto/crypto_server_test.cc
|
| diff --git a/net/quic/core/crypto/crypto_server_test.cc b/net/quic/core/crypto/crypto_server_test.cc
|
| index 85f07520f51e721a47b8d1bc00dc1d586bfbeea7..65cdc12cdbd587ca041ce19167934a6fe0b2cc63 100644
|
| --- a/net/quic/core/crypto/crypto_server_test.cc
|
| +++ b/net/quic/core/crypto/crypto_server_test.cc
|
| @@ -19,6 +19,7 @@
|
| #include "net/quic/core/quic_flags.h"
|
| #include "net/quic/core/quic_socket_address_coder.h"
|
| #include "net/quic/core/quic_utils.h"
|
| +#include "net/quic/platform/api/quic_endian.h"
|
| #include "net/quic/platform/api/quic_string_piece.h"
|
| #include "net/quic/platform/api/quic_text_utils.h"
|
| #include "net/quic/test_tools/crypto_test_utils.h"
|
| @@ -363,6 +364,11 @@ class CryptoServerTest : public ::testing::TestWithParam<TestParams> {
|
| } else {
|
| ASSERT_EQ(QUIC_NO_ERROR,
|
| out_.GetUint64(kRCID, &server_designated_connection_id));
|
| + if (QuicUtils::IsConnectionIdWireFormatBigEndian(
|
| + Perspective::IS_SERVER)) {
|
| + server_designated_connection_id =
|
| + QuicEndian::NetToHost64(server_designated_connection_id);
|
| + }
|
| EXPECT_EQ(rand_for_id_generation_.RandUint64(),
|
| server_designated_connection_id);
|
| }
|
|
|