mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-08-08 09:42:06 +03:00
Rename PacketEvent -> ClonedPacketIdentifier
Summary: `PacketEvent` is a very inaccurate and misleading name. We're basically using this as an identifier for cloned packets, so `ClonedPacketIdentifier` is a much better. Reviewed By: kvtsoy Differential Revision: D61871891 fbshipit-source-id: f9c626d900c8b7ab7e231c9bad4c1629384ebb77
This commit is contained in:
committed by
Facebook GitHub Bot
parent
b63ca46293
commit
6f13f404b0
@@ -2497,7 +2497,9 @@ TEST_F(QuicTransportTest, CloneAfterRecvReset) {
|
||||
size_t cloneCounter = std::count_if(
|
||||
conn.outstandings.packets.begin(),
|
||||
conn.outstandings.packets.end(),
|
||||
[](const auto& packet) { return packet.associatedEvent.hasValue(); });
|
||||
[](const auto& packet) {
|
||||
return packet.maybeClonedPacketIdentifier.hasValue();
|
||||
});
|
||||
EXPECT_LE(1, cloneCounter);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user