[tests] Timer is not needed to keep the main loop alive

The loop will be alive until `.stop()` is called.
This commit is contained in:
Thiago Marcos P. Santos
2016-02-21 02:00:17 +02:00
parent 59c70f7d7c
commit c51c0d5db2

View File

@@ -41,11 +41,6 @@ TEST_F(Storage, HTTPNetworkStatusChange) {
mbgl::NetworkStatus::Reachable();
});
// This timer will keep the loop alive to make sure we would be getting a response in caes the
// network status change triggered another change (which it shouldn't).
util::Timer delayTimer;
delayTimer.start(Milliseconds(300), Duration::zero(), [] () {});
loop.run();
}