1
0
mirror of https://github.com/facebookincubator/mvfst.git synced 2025-08-06 22:22:38 +03:00

Hide direct timer invocations on the event base into the wrapper

Summary: Needed for future libev-based event base impl.

Reviewed By: hanidamlaj

Differential Revision: D46670916

fbshipit-source-id: 55740ed05da9c1f54cc8639ece89d1f21aaff0d3
This commit is contained in:
Konstantin Tsoy
2023-07-12 17:26:15 -07:00
committed by Facebook GitHub Bot
parent c8daa9bf01
commit fe12ab7241
14 changed files with 91 additions and 51 deletions

View File

@@ -1723,7 +1723,7 @@ TEST_P(QuicTransportImplTestBase, ConnectionErrorUnhandledException) {
}
TEST_P(QuicTransportImplTestBase, LossTimeoutNoLessThanTickInterval) {
auto tickInterval = evb->timer().getTickInterval();
auto tickInterval = evb->getTimerTickInterval();
transport->scheduleLossTimeout(tickInterval - 1ms);
EXPECT_NEAR(
tickInterval.count(),