From 4d272a2a00fb6b8878e44fcc8a3d170d8e8cdcc5 Mon Sep 17 00:00:00 2001 From: Nik Everett Date: Thu, 17 Sep 2020 11:14:29 -0400 Subject: [PATCH] Runtime fields: fix a test name (#62498) This fixes the name of a test method so we actually run it. I broke it a few commits ago without realizing it. --- .../runtimefields/mapper/BooleanScriptMappedFieldTypeTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugin/runtime-fields/src/test/java/org/elasticsearch/xpack/runtimefields/mapper/BooleanScriptMappedFieldTypeTests.java b/x-pack/plugin/runtime-fields/src/test/java/org/elasticsearch/xpack/runtimefields/mapper/BooleanScriptMappedFieldTypeTests.java index 665d7828f55..29d2653346f 100644 --- a/x-pack/plugin/runtime-fields/src/test/java/org/elasticsearch/xpack/runtimefields/mapper/BooleanScriptMappedFieldTypeTests.java +++ b/x-pack/plugin/runtime-fields/src/test/java/org/elasticsearch/xpack/runtimefields/mapper/BooleanScriptMappedFieldTypeTests.java @@ -341,7 +341,7 @@ public class BooleanScriptMappedFieldTypeTests extends AbstractNonTextScriptMapp } } - public void randomTermsQueryDegeneratesIntoMatchNone() throws IOException { + public void testEmptyTermsQueryDegeneratesIntoMatchNone() throws IOException { assertThat( simpleMappedFieldType().termsQuery(org.elasticsearch.common.collect.List.of(), mockContext()), instanceOf(MatchNoDocsQuery.class)