Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-vieira committed Oct 18, 2023
1 parent 011ccc8 commit 1a2255b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
);
}
Expand Down

0 comments on commit 1a2255b

Please sign in to comment.