[TESTS] Ensure yellow in SimpleFacetsTests.testFilterFacetWithFacetFilterPostMode.

This commit is contained in:
Adrien Grand 2014-07-24 15:20:58 +02:00
parent eb37a5992b
commit f5d1e0a37d
1 changed files with 1 additions and 0 deletions

View File

@ -2319,6 +2319,7 @@ public class SimpleFacetsTests extends ElasticsearchIntegrationTest {
@Test // #3479: Null pointer exception for POST mode facets if facet_filter accepts no documents
public void testFilterFacetWithFacetFilterPostMode() throws IOException {
createIndex("test");
ensureYellow("test");
client().prepareIndex("test", "type1").setSource(jsonBuilder().startObject()
.field("field", "xxx")
.endObject()).execute().actionGet();