From b05f5ebee8df6e2cf83f7646253976867a0ff7ca Mon Sep 17 00:00:00 2001 From: Nicholas Knize Date: Thu, 26 Feb 2015 12:09:53 -0600 Subject: [PATCH] [TEST] Adding 'AwaitsFix' annotation to randomGeoCollection test Random geo shape testing periodically fails on a known issue within Spatial4j core. A simple patch in ES will fix the issue. For now this random test will be disabled until the patch can be applied. --- .../org/elasticsearch/search/geo/GeoShapeIntegrationTests.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/java/org/elasticsearch/search/geo/GeoShapeIntegrationTests.java b/src/test/java/org/elasticsearch/search/geo/GeoShapeIntegrationTests.java index 0a0882b3100..ca035253b74 100644 --- a/src/test/java/org/elasticsearch/search/geo/GeoShapeIntegrationTests.java +++ b/src/test/java/org/elasticsearch/search/geo/GeoShapeIntegrationTests.java @@ -19,6 +19,7 @@ package org.elasticsearch.search.geo; +import org.apache.lucene.util.LuceneTestCase; import org.elasticsearch.action.get.GetResponse; import org.elasticsearch.action.search.SearchResponse; import org.elasticsearch.test.geo.RandomShapeGenerator; @@ -380,6 +381,7 @@ public class GeoShapeIntegrationTests extends ElasticsearchIntegrationTest { assertThat(locationMap.size(), equalTo(2)); } + @LuceneTestCase.AwaitsFix(bugUrl = "https://github.com/elasticsearch/elasticsearch/issues/9904") @Test public void testShapeFilterWithRandomGeoCollection() throws Exception { // Create a random geometry collection.