mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-08-06 22:22:38 +03:00
Fix QuicTransportTest
Summary: An unused folly timer fd keeps the event base active causing the tests to timeout. This fixes it. Differential Revision: D52647419 fbshipit-source-id: 57e699e9b34c9fd6d86cb6e0cb1705066f09e1c9
This commit is contained in:
committed by
Facebook GitHub Bot
parent
697ab96ea6
commit
e8eff25a13
@@ -67,8 +67,6 @@ class QuicTransportTest : public Test {
|
||||
public:
|
||||
QuicTransportTest() {
|
||||
qEvb_ = std::make_shared<FollyQuicEventBase>(&evb_);
|
||||
qTimer_ = std::make_unique<HighResQuicTimer>(
|
||||
&evb_, evb_.timer().getTickInterval());
|
||||
}
|
||||
~QuicTransportTest() override = default;
|
||||
|
||||
@@ -124,7 +122,6 @@ class QuicTransportTest : public Test {
|
||||
protected:
|
||||
folly::EventBase evb_;
|
||||
std::shared_ptr<FollyQuicEventBase> qEvb_;
|
||||
std::unique_ptr<HighResQuicTimer> qTimer_;
|
||||
MockAsyncUDPSocket* socket_;
|
||||
NiceMock<MockConnectionSetupCallback> connSetupCallback_;
|
||||
NiceMock<MockConnectionCallback> connCallback_;
|
||||
|
Reference in New Issue
Block a user