mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-08-06 22:22:38 +03:00
rename timeoutBasedRetxCount to timeoutBasedRtxCount
Summary: Just to make it consistent with other var names in quic Reviewed By: siyengar Differential Revision: D15415528 fbshipit-source-id: 917159d6ccf86cf34612386d128d6b6d5bf62de6
This commit is contained in:
committed by
Facebook Github Bot
parent
34514e71ee
commit
ca31b43564
@@ -1548,7 +1548,7 @@ TEST_F(QuicTransportFunctionsTest, TotalBytesSentUpdate) {
|
||||
TEST_F(QuicTransportFunctionsTest, TimeoutBasedRetxCountUpdate) {
|
||||
auto conn = createConn();
|
||||
auto stream = conn->streamManager->createNextBidirectionalStream().value();
|
||||
conn->lossState.timeoutBasedRetxCount = 246;
|
||||
conn->lossState.timeoutBasedRtxCount = 246;
|
||||
auto packet = buildEmptyPacket(*conn, PacketNumberSpace::AppData);
|
||||
RstStreamFrame rstStreamFrame(
|
||||
stream->id, GenericApplicationErrorCode::UNKNOWN, 0);
|
||||
@@ -1556,7 +1556,7 @@ TEST_F(QuicTransportFunctionsTest, TimeoutBasedRetxCountUpdate) {
|
||||
PacketEvent packetEvent = 100;
|
||||
conn->outstandingPacketEvents.insert(packetEvent);
|
||||
updateConnection(*conn, packetEvent, packet.packet, TimePoint(), 500);
|
||||
EXPECT_EQ(247, conn->lossState.timeoutBasedRetxCount);
|
||||
EXPECT_EQ(247, conn->lossState.timeoutBasedRtxCount);
|
||||
}
|
||||
|
||||
} // namespace test
|
||||
|
Reference in New Issue
Block a user