mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-26 14:54:56 +00:00
parent
54907ba352
commit
9f5aef7b6d
@ -478,6 +478,7 @@ public class FullClusterRestartIT extends ESRestTestCase {
|
||||
// Post upgrade checks:
|
||||
assertBusy(() -> {
|
||||
Map<String, Object> rsp2 = toMap(client().performRequest("GET", "/" + index + "/_upgrade"));
|
||||
logger.info("upgrade status response: {}", rsp2);
|
||||
Map<?, ?> indexUpgradeStatus2 = (Map<?, ?>) XContentMapValues.extractValue("indices." + index, rsp2);
|
||||
int totalBytes2 = (Integer) indexUpgradeStatus2.get("size_in_bytes");
|
||||
assertThat(totalBytes2, greaterThan(0));
|
||||
|
Loading…
x
Reference in New Issue
Block a user