From c7c441167dbea2adf6928790a8c09c57b79b1c2b Mon Sep 17 00:00:00 2001 From: Juha Alanen Date: Thu, 9 Jan 2020 15:59:03 +0200 Subject: [PATCH] [test] Increase the threshold for Map.Offline test on Android --- test/map/map.test.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/map/map.test.cpp b/test/map/map.test.cpp index a0cd64bdd..3eb01a738 100644 --- a/test/map/map.test.cpp +++ b/test/map/map.test.cpp @@ -315,8 +315,11 @@ TEST(Map, Offline) { test.map.getStyle().loadURL(prefix + "style.json"); +#if ANDROID + test::checkImage("test/fixtures/map/offline", test.frontend.render(test.map).image, 0.0045, 0.1); +#else test::checkImage("test/fixtures/map/offline", test.frontend.render(test.map).image, 0.0015, 0.1); - +#endif NetworkStatus::Set(NetworkStatus::Status::Online); }