diff --git a/src/test/java/org/elasticsearch/validate/SimpleValidateQueryTests.java b/src/test/java/org/elasticsearch/validate/SimpleValidateQueryTests.java index 88378c9f9ce..8c5881bd067 100644 --- a/src/test/java/org/elasticsearch/validate/SimpleValidateQueryTests.java +++ b/src/test/java/org/elasticsearch/validate/SimpleValidateQueryTests.java @@ -80,7 +80,7 @@ public class SimpleValidateQueryTests extends ElasticsearchIntegrationTest { private static String filter(String uncachedFilter) { String filter = uncachedFilter; if (cluster().hasFilterCache()) { - filter = "cached(" + filter + ")"; + filter = "cache(" + filter + ")"; } return filter; }