test: added extra log line

Relates to #25311
This commit is contained in:
Martijn van Groningen 2017-06-27 10:54:26 +02:00
parent 54907ba352
commit 9f5aef7b6d
No known key found for this signature in database
GPG Key ID: AB236F4FCF2AF12A
1 changed files with 1 additions and 0 deletions

View File

@ -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));