[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.
This commit is contained in:
Nicholas Knize 2015-02-26 12:09:53 -06:00
parent 624549b4eb
commit b05f5ebee8
1 changed files with 2 additions and 0 deletions

View File

@ -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.