diff options
Diffstat (limited to 'test/storage/http_load.cpp')
-rw-r--r-- | test/storage/http_load.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/storage/http_load.cpp b/test/storage/http_load.cpp index 1a494d24fa..947b850db6 100644 --- a/test/storage/http_load.cpp +++ b/test/storage/http_load.cpp @@ -1,7 +1,5 @@ #include "storage.hpp" -#include <uv.h> - #include <mbgl/storage/default_file_source.hpp> #include <mbgl/util/chrono.hpp> #include <mbgl/util/run_loop.hpp> @@ -11,8 +9,8 @@ TEST_F(Storage, HTTPLoad) { using namespace mbgl; + util::RunLoop loop; DefaultFileSource fs(nullptr); - util::RunLoop loop(uv_default_loop()); const int concurrency = 50; const int max = 10000; @@ -48,5 +46,5 @@ TEST_F(Storage, HTTPLoad) { req(i); } - uv_run(uv_default_loop(), UV_RUN_DEFAULT); + loop.run(); } |