mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
[TEST] wait for yellow else assertSearchResponse will trip
This commit is contained in:
parent
e207189037
commit
75d2a84772
@ -393,6 +393,8 @@ public class FunctionScoreTests extends ElasticsearchIntegrationTest {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testScriptScoresNested() throws IOException {
|
public void testScriptScoresNested() throws IOException {
|
||||||
|
createIndex(INDEX);
|
||||||
|
ensureYellow();
|
||||||
index(INDEX, TYPE, "1", jsonBuilder().startObject().field("dummy_field", 1).endObject());
|
index(INDEX, TYPE, "1", jsonBuilder().startObject().field("dummy_field", 1).endObject());
|
||||||
refresh();
|
refresh();
|
||||||
SearchResponse response = client().search(
|
SearchResponse response = client().search(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user