瀏覽代碼

Avoid WindowsFS in LongGCDisruption (#88110)

Closes #87914
David Turner 3 年之前
父節點
當前提交
2115cba073
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      test/framework/src/main/java/org/elasticsearch/test/disruption/LongGCDisruption.java

+ 3 - 1
test/framework/src/main/java/org/elasticsearch/test/disruption/LongGCDisruption.java

@@ -38,7 +38,9 @@ public class LongGCDisruption extends SingleNodeDisruption {
         // security manager is shared across all nodes and it uses synchronized maps internally
         Pattern.compile("java\\.lang\\.SecurityManager"),
         // SecureRandom instance from SecureRandomHolder class is shared by all nodes
-        Pattern.compile("java\\.security\\.SecureRandom") };
+        Pattern.compile("java\\.security\\.SecureRandom"),
+        // Lucene's WindowsFS is shared across nodes and contains some coarse synchronization
+        Pattern.compile("org\\.apache\\.lucene\\.tests\\.mockfile\\.WindowsFS") };
 
     private static final ThreadMXBean threadBean = ManagementFactory.getThreadMXBean();