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
|
// TODO a binary field
|
||||||
.endObject();
|
.endObject();
|
||||||
});
|
});
|
||||||
|
logger.info("Refreshing [{}]", index);
|
||||||
|
client().performRequest("POST", "/" + index + "/_refresh");
|
||||||
}
|
}
|
||||||
assertBasicSearchWorks(index);
|
assertBasicSearchWorks(index);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue