[TESTS] Ensure yellow in SimpleFacetsTests.testFilterFacetWithFacetFilterPostMode.
This commit is contained in:
parent
eb37a5992b
commit
f5d1e0a37d
|
@ -2319,6 +2319,7 @@ public class SimpleFacetsTests extends ElasticsearchIntegrationTest {
|
||||||
@Test // #3479: Null pointer exception for POST mode facets if facet_filter accepts no documents
|
@Test // #3479: Null pointer exception for POST mode facets if facet_filter accepts no documents
|
||||||
public void testFilterFacetWithFacetFilterPostMode() throws IOException {
|
public void testFilterFacetWithFacetFilterPostMode() throws IOException {
|
||||||
createIndex("test");
|
createIndex("test");
|
||||||
|
ensureYellow("test");
|
||||||
client().prepareIndex("test", "type1").setSource(jsonBuilder().startObject()
|
client().prepareIndex("test", "type1").setSource(jsonBuilder().startObject()
|
||||||
.field("field", "xxx")
|
.field("field", "xxx")
|
||||||
.endObject()).execute().actionGet();
|
.endObject()).execute().actionGet();
|
||||||
|
|
Loading…
Reference in New Issue