diff --git a/test/test-clusters/src/main/java/org/elasticsearch/test/cluster/local/DefaultLocalElasticsearchCluster.java b/test/test-clusters/src/main/java/org/elasticsearch/test/cluster/local/DefaultLocalElasticsearchCluster.java index e9efd9c654ecc..38d83e7652e98 100644 --- a/test/test-clusters/src/main/java/org/elasticsearch/test/cluster/local/DefaultLocalElasticsearchCluster.java +++ b/test/test-clusters/src/main/java/org/elasticsearch/test/cluster/local/DefaultLocalElasticsearchCluster.java @@ -181,7 +181,7 @@ private void maybeCheckThreadLeakFilters(Description description) { Class[] classes = (Class[]) annotation.getClass().getMethod("filters").invoke(annotation); if (Arrays.stream(classes).noneMatch(c -> c.getName().equals("org.elasticsearch.test.TestClustersThreadFilter"))) { throw new IllegalStateException( - "TestClustersThreadFilter is required when using shard clusters. Annotate your test with the following:\n\n" + "TestClustersThreadFilter is required when using shared clusters. Annotate your test with the following:\n\n" + " @ThreadLeakFilters(filters = TestClustersThreadFilter.class)\n" ); }