From 4e4815355a8bdcb78afdfd61033abd2dc3948161 Mon Sep 17 00:00:00 2001 From: Tim Vernum Date: Mon, 10 Feb 2020 21:19:18 +1100 Subject: [PATCH] Mute DocumentSubsetBitsetCacheTests.testCacheUnderConcurrentAccess (#52135) Test does not always complete in expected time. Relates: #51914 Backport of: #52122 --- .../authz/accesscontrol/DocumentSubsetBitsetCacheTests.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/DocumentSubsetBitsetCacheTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/DocumentSubsetBitsetCacheTests.java index 5164861e5b1..281542af127 100644 --- a/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/DocumentSubsetBitsetCacheTests.java +++ b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/DocumentSubsetBitsetCacheTests.java @@ -337,6 +337,8 @@ public class DocumentSubsetBitsetCacheTests extends ESTestCase { cache.verifyInternalConsistency(); }); } + + @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/51914") public void testCacheUnderConcurrentAccess() throws Exception { // This value is based on the internal implementation details of lucene's FixedBitSet // If the implementation changes, this can be safely updated to match the new ram usage for a single bitset