浏览代码

Fix typo in test name

testDallow -> testDisallow

Follows: a8b39ed842c7770bd9275958c9f747502fd9a3ea
Marios Trivyzas 5 年之前
父节点
当前提交
c3e5bbe4df

+ 1 - 1
modules/percolator/src/test/java/org/elasticsearch/percolator/PercolatorQuerySearchIT.java

@@ -879,7 +879,7 @@ public class PercolatorQuerySearchIT extends ESIntegTestCase {
         assertThat(item.getFailureMessage(), containsString("[test/6] couldn't be found"));
         assertThat(item.getFailureMessage(), containsString("[test/6] couldn't be found"));
     }
     }
 
 
-    public void testDallowExpensiveQueries() throws IOException {
+    public void testDisallowExpensiveQueries() throws IOException {
         try {
         try {
             assertAcked(client().admin().indices().prepareCreate("test")
             assertAcked(client().admin().indices().prepareCreate("test")
                     .setMapping("id", "type=keyword", "field1", "type=keyword", "query", "type=percolator")
                     .setMapping("id", "type=keyword", "field1", "type=keyword", "query", "type=percolator")