[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
|
||||
public void testFilterFacetWithFacetFilterPostMode() throws IOException {
|
||||
createIndex("test");
|
||||
ensureYellow("test");
|
||||
client().prepareIndex("test", "type1").setSource(jsonBuilder().startObject()
|
||||
.field("field", "xxx")
|
||||
.endObject()).execute().actionGet();
|
||||
|
|
Loading…
Reference in New Issue