From 0d3410a837f0ff592cfdf84e34c3fac2cb08201d Mon Sep 17 00:00:00 2001 From: Adrien Grand Date: Fri, 23 May 2014 00:52:56 +0200 Subject: [PATCH] [TESTS] Fix test bug in SimpleValidateQueryTests. --- .../org/elasticsearch/validate/SimpleValidateQueryTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }