Skip to content

Commit

Permalink
test: get upgrade status for all indices
Browse files Browse the repository at this point in the history
Relates to #25311
  • Loading branch information
martijnvg committed Jun 27, 2017
1 parent 0405ef5 commit 11fcfaa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ void assertUpgradeWorks() throws Exception {

// Post upgrade checks:
assertBusy(() -> {
Map<String, Object> rsp2 = toMap(client().performRequest("GET", "/" + index + "/_upgrade"));
Map<String, Object> rsp2 = toMap(client().performRequest("GET", "/_upgrade"));
logger.info("upgrade status response: {}", rsp2);
Map<?, ?> indexUpgradeStatus2 = (Map<?, ?>) XContentMapValues.extractValue("indices." + index, rsp2);
int totalBytes2 = (Integer) indexUpgradeStatus2.get("size_in_bytes");
Expand Down

0 comments on commit 11fcfaa

Please sign in to comment.