From d388d651ecb6b5d07c939208e9cb5396b753d905 Mon Sep 17 00:00:00 2001 From: Bart Louwers Date: Wed, 5 Jul 2023 21:38:29 +0200 Subject: [PATCH] Skip flaky test `MainResourceLoader.CachedResourceLowPriority` (#1311) --- test/BUILD.bazel | 1 + test/storage/main_resource_loader.test.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/test/BUILD.bazel b/test/BUILD.bazel index 80599ec9b..ba36bc2c8 100644 --- a/test/BUILD.bazel +++ b/test/BUILD.bazel @@ -26,6 +26,7 @@ cc_library( "src/mbgl/test/*.hpp", ]), copts = CPP_FLAGS + MAPLIBRE_FLAGS, + defines = ["CI_BUILD"], strip_include_prefix = "src", deps = [ "testutils", diff --git a/test/storage/main_resource_loader.test.cpp b/test/storage/main_resource_loader.test.cpp index fd945a196..d36b8e21c 100644 --- a/test/storage/main_resource_loader.test.cpp +++ b/test/storage/main_resource_loader.test.cpp @@ -716,6 +716,8 @@ TEST(MainResourceLoader, TEST_REQUIRES_SERVER(RespondToStaleMustRevalidate)) { // Test that requests for expired resources have lower priority than requests for new resources TEST(MainResourceLoader, TEST_REQUIRES_SERVER(CachedResourceLowPriority)) { + GTEST_SKIP() << "Skipping MainResourceLoader.CachedResourceLowPriority. " + << "See https://github.com/maplibre/maplibre-native/issues/1071"; util::RunLoop loop; MainResourceLoader fs(ResourceOptions{}, ClientOptions{});