Fix a msan error because of uninitialized test diversification nonce.

gfe-relnote: n/a (test only change)
PiperOrigin-RevId: 238465246
Change-Id: I2eef813d3efdbe175ab9197c27b871e8d3b050a5
diff --git a/quic/core/quic_connection_test.cc b/quic/core/quic_connection_test.cc
index 0790ee9..82195ec 100644
--- a/quic/core/quic_connection_test.cc
+++ b/quic/core/quic_connection_test.cc
@@ -71,6 +71,12 @@
 
 const int kDefaultRetransmissionTimeMs = 500;
 
+DiversificationNonce kTestDiversificationNonce = {
+    'a', 'b', 'a', 'b', 'a', 'b', 'a', 'b', 'a', 'b', 'a',
+    'b', 'a', 'b', 'a', 'b', 'a', 'b', 'a', 'b', 'a', 'b',
+    'a', 'b', 'a', 'b', 'a', 'b', 'a', 'b', 'a', 'b',
+};
+
 const QuicSocketAddress kPeerAddress =
     QuicSocketAddress(QuicIpAddress::Loopback6(),
                       /*port=*/12345);
@@ -1216,7 +1222,7 @@
         header.source_connection_id_included = CONNECTION_ID_PRESENT;
         if (GetParam().version.handshake_protocol == PROTOCOL_QUIC_CRYPTO &&
             header.long_packet_type == ZERO_RTT_PROTECTED) {
-          header.nonce = &diversification_nonce_;
+          header.nonce = &kTestDiversificationNonce;
         }
       }
     }
@@ -1387,7 +1393,6 @@
   QuicConnectionIdIncluded connection_id_included_;
 
   SimpleSessionNotifier notifier_;
-  DiversificationNonce diversification_nonce_;
 };
 
 // Run all end to end tests with all supported versions.