Update expected ALPN token in QuicDispatcherWriteBlockedListTest. This is so that when cl/290840338 reorders QUIC versions, QuicDispatcherWriteBlockedListTests (running with CurrentSupportedVersions().front() only) can still pass. gfe-relnote: n/a (test-only change) PiperOrigin-RevId: 297568815 Change-Id: I39a6e14ada0e21d57d2cb090b0c5c11837d49f9b
diff --git a/quic/core/quic_dispatcher_test.cc b/quic/core/quic_dispatcher_test.cc index 66b9e2e..973e2e3 100644 --- a/quic/core/quic_dispatcher_test.cc +++ b/quic/core/quic_dispatcher_test.cc
@@ -1388,8 +1388,7 @@ QuicSocketAddress client_address(QuicIpAddress::Loopback4(), 1); EXPECT_CALL(*dispatcher_, - CreateQuicSession(_, client_address, - quiche::QuicheStringPiece("hq"), _)) + CreateQuicSession(_, client_address, Eq(ExpectedAlpn()), _)) .WillOnce(Return(ByMove(CreateSession( dispatcher_.get(), config_, TestConnectionId(1), client_address, &helper_, &alarm_factory_, &crypto_config_, @@ -1405,8 +1404,7 @@ ProcessPacket(client_address, TestConnectionId(1), true, SerializeCHLO()); EXPECT_CALL(*dispatcher_, - CreateQuicSession(_, client_address, - quiche::QuicheStringPiece("hq"), _)) + CreateQuicSession(_, client_address, Eq(ExpectedAlpn()), _)) .WillOnce(Return(ByMove(CreateSession( dispatcher_.get(), config_, TestConnectionId(2), client_address, &helper_, &alarm_factory_, &crypto_config_,