| commit | af9903b9f20e5958822513524993b77debd188e1 | [log] [tgz] |
|---|---|---|
| author | fayang <fayang@google.com> | Thu May 14 14:34:28 2020 -0700 |
| committer | Copybara-Service <copybara-worker@google.com> | Thu May 14 14:34:57 2020 -0700 |
| tree | 06c437f9b3720289003e42608f9fd4cb4875eefb | |
| parent | f6ba532e3e4f7967f0e62b7a661608be06da83ea [diff] [blame] |
In quic, update crypto_retransmit_count for ietf quic. stats only, not protected. crypto_retransmit_count is used for crypto retransmission timeout histogram in chrome: https://cs.chromium.org/chromium/src/net/quic/quic_chromium_client_session.cc?rcl=1b569384c7ba089e4d3a190c6229ebb51791854a&l=1741 PiperOrigin-RevId: 311607181 Change-Id: I7fd2ec186d86ceb1b37ce1a6e5bca701861cad4a
diff --git a/quic/core/quic_connection_test.cc b/quic/core/quic_connection_test.cc index 24f233e..0b72013 100644 --- a/quic/core/quic_connection_test.cc +++ b/quic/core/quic_connection_test.cc
@@ -10009,7 +10009,7 @@ EXPECT_CALL(visitor_, SendPing()).WillOnce(Invoke([this]() { SendPing(); })); connection_.GetRetransmissionAlarm()->Fire(); EXPECT_EQ(1u, connection_.GetStats().pto_count); - EXPECT_EQ(0u, connection_.GetStats().crypto_retransmit_count); + EXPECT_EQ(1u, connection_.GetStats().crypto_retransmit_count); EXPECT_EQ(1u, writer_->ping_frames().size()); }