mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
test: Always issue a refresh after we have indexed, otherwise subsequent searches may return different results.
This commit is contained in:
parent
0424099674
commit
c9aeb34d50
@ -115,6 +115,8 @@ public class FullClusterRestartIT extends ESRestTestCase {
|
||||
// TODO a binary field
|
||||
.endObject();
|
||||
});
|
||||
logger.info("Refreshing [{}]", index);
|
||||
client().performRequest("POST", "/" + index + "/_refresh");
|
||||
}
|
||||
assertBasicSearchWorks(index);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user