[TEST] wait for yellow else assertSearchResponse will trip
This commit is contained in:
parent
75d2a84772
commit
eb9d39f611
|
@ -415,6 +415,8 @@ public class FunctionScoreTests extends ElasticsearchIntegrationTest {
|
|||
|
||||
@Test
|
||||
public void testScriptScoresWithAgg() throws IOException {
|
||||
createIndex(INDEX);
|
||||
ensureYellow();
|
||||
index(INDEX, TYPE, "1", jsonBuilder().startObject().field("dummy_field", 1).endObject());
|
||||
refresh();
|
||||
SearchResponse response = client().search(
|
||||
|
|
Loading…
Reference in New Issue