From c51c0d5db2089d89d9b12d7a98c8a360ea791008 Mon Sep 17 00:00:00 2001 From: "Thiago Marcos P. Santos" Date: Sun, 21 Feb 2016 02:00:17 +0200 Subject: [tests] Timer is not needed to keep the main loop alive The loop will be alive until `.stop()` is called. --- test/storage/http_retry_network_status.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'test') diff --git a/test/storage/http_retry_network_status.cpp b/test/storage/http_retry_network_status.cpp index bf875cbd57..feb07d0245 100644 --- a/test/storage/http_retry_network_status.cpp +++ b/test/storage/http_retry_network_status.cpp @@ -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(); } -- cgit v1.2.1