mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-08-08 09:42:06 +03:00
Fall back to evb timer if no pacer timer set
Reviewed By: kvtsoy Differential Revision: D65848549 fbshipit-source-id: 38c1e9b8c820dbe2848cb132d7e49079c45eb67d
This commit is contained in:
committed by
Facebook GitHub Bot
parent
a5fd828b90
commit
95898ef8b7
@@ -3916,12 +3916,12 @@ TEST_F(QuicTransportTest, NotifyPendingWriteConnBufferFreeUpSpace) {
|
||||
NetworkData(ReceivedUdpPacket(IOBuf::copyBuffer("fake data"))));
|
||||
}
|
||||
|
||||
TEST_F(QuicTransportTest, NoPacingTimerNoPacing) {
|
||||
TEST_F(QuicTransportTest, NoPacingTimerStillPaced) {
|
||||
TransportSettings transportSettings;
|
||||
transportSettings.pacingEnabled = true;
|
||||
transport_->setTransportSettings(transportSettings);
|
||||
transport_->getConnectionState().canBePaced = true;
|
||||
EXPECT_FALSE(isConnectionPaced(transport_->getConnectionState()));
|
||||
EXPECT_TRUE(isConnectionPaced(transport_->getConnectionState()));
|
||||
}
|
||||
|
||||
TEST_F(QuicTransportTest, SetPacingTimerThenEnablesPacing) {
|
||||
|
Reference in New Issue
Block a user