mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-08-06 22:22:38 +03:00
Back out "Quic pacing refactor"
Summary: Original commit changeset: b83e4a01fc81 Reviewed By: mjoras Differential Revision: D19644828 fbshipit-source-id: 83d5a3454c6f9a8364e970d236cba008aef85fbd
This commit is contained in:
committed by
Facebook Github Bot
parent
3b55c3d0fe
commit
d5b454a9c0
@@ -765,7 +765,7 @@ TEST_F(QuicTransportFunctionsTest, TestUpdateConnectionWithPureAck) {
|
||||
ackFrame.ackBlocks.emplace_back(0, 10);
|
||||
packet.packet.frames.push_back(std::move(ackFrame));
|
||||
EXPECT_CALL(*rawController, onPacketSent(_)).Times(0);
|
||||
EXPECT_CALL(*rawPacer, onPacketSent(_)).Times(0);
|
||||
EXPECT_CALL(*rawPacer, onPacketSent()).Times(0);
|
||||
updateConnection(
|
||||
*conn, folly::none, packet.packet, TimePoint(), getEncodedSize(packet));
|
||||
EXPECT_EQ(0, conn->outstandingPackets.size());
|
||||
@@ -1020,7 +1020,7 @@ TEST_F(QuicTransportFunctionsTest, WriteQuicdataToSocketWithPacer) {
|
||||
IOBuf::copyBuffer("0123456789012012345678901201234567890120123456789012");
|
||||
writeDataToQuicStream(*stream1, buf->clone(), true);
|
||||
|
||||
EXPECT_CALL(*rawPacer, onPacketSent(_)).Times(1);
|
||||
EXPECT_CALL(*rawPacer, onPacketSent()).Times(1);
|
||||
EXPECT_CALL(*transportInfoCb_, onWrite(_));
|
||||
writeQuicDataToSocket(
|
||||
*rawSocket,
|
||||
|
Reference in New Issue
Block a user