diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2016-02-21 02:00:17 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <thiago@mapbox.com> | 2016-02-22 09:21:51 +0200 |
commit | c51c0d5db2089d89d9b12d7a98c8a360ea791008 (patch) | |
tree | 73f718606f60768941317cf5880690d93c66dfd3 /test | |
parent | 59c70f7d7c0cdd1393914cc3855892ec6394a063 (diff) | |
download | qtlocation-mapboxgl-c51c0d5db2089d89d9b12d7a98c8a360ea791008.tar.gz |
[tests] Timer is not needed to keep the main loop alive
The loop will be alive until `.stop()` is called.
Diffstat (limited to 'test')
-rw-r--r-- | test/storage/http_retry_network_status.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
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(); } |