From 83d007e7bee9763ab4b15553110d1b7a829f614b Mon Sep 17 00:00:00 2001 From: javanna Date: Fri, 27 Jul 2018 11:50:13 +0200 Subject: [PATCH] [TEST] Mute failing testConvertLongHexError See #32370 --- .../ingest/common/ConvertProcessorTests.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/modules/ingest-common/src/test/java/org/elasticsearch/ingest/common/ConvertProcessorTests.java b/modules/ingest-common/src/test/java/org/elasticsearch/ingest/common/ConvertProcessorTests.java index ae27c7850da..500f1aa1719 100644 --- a/modules/ingest-common/src/test/java/org/elasticsearch/ingest/common/ConvertProcessorTests.java +++ b/modules/ingest-common/src/test/java/org/elasticsearch/ingest/common/ConvertProcessorTests.java @@ -19,11 +19,6 @@ package org.elasticsearch.ingest.common; -import org.elasticsearch.ingest.IngestDocument; -import org.elasticsearch.ingest.Processor; -import org.elasticsearch.ingest.RandomDocumentPicks; -import org.elasticsearch.test.ESTestCase; - import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; @@ -31,12 +26,17 @@ import java.util.List; import java.util.Locale; import java.util.Map; +import org.elasticsearch.ingest.IngestDocument; +import org.elasticsearch.ingest.Processor; +import org.elasticsearch.ingest.RandomDocumentPicks; +import org.elasticsearch.test.ESTestCase; + import static org.elasticsearch.ingest.IngestDocumentMatcher.assertIngestDocument; import static org.elasticsearch.ingest.common.ConvertProcessor.Type; import static org.hamcrest.Matchers.containsString; import static org.hamcrest.Matchers.equalTo; -import static org.hamcrest.Matchers.sameInstance; import static org.hamcrest.Matchers.not; +import static org.hamcrest.Matchers.sameInstance; public class ConvertProcessorTests extends ESTestCase { @@ -138,6 +138,7 @@ public class ConvertProcessorTests extends ESTestCase { assertThat(ingestDocument.getFieldValue(fieldName, Long.class), equalTo(10L)); } + @AwaitsFix( bugUrl = "https://github.com/elastic/elasticsearch/issues/32370") public void testConvertLongHexError() { IngestDocument ingestDocument = RandomDocumentPicks.randomIngestDocument(random()); String value = "0x" + randomAlphaOfLengthBetween(1, 10);