Tests: Adding additional debug info to upgrade test.

This commit is contained in:
Ryan Ernst 2014-10-20 11:26:56 -07:00
parent 6dac6ecd93
commit 3323ac1579
1 changed files with 6 additions and 0 deletions

View File

@ -115,9 +115,15 @@ public class UpgradeTest extends ElasticsearchBackwardsCompatIntegrationTest {
indexRandom(true, builder);
ensureGreen(indexName);
}
logger.debug("--> Upgrading nodes");
logClusterState();
logSegmentsState(null);
backwardsCluster().allowOnAllNodes(indexNames);
backwardsCluster().upgradeAllNodes();
ensureGreen();
logger.debug("--> Nodes upgrade complete");
logClusterState();
logSegmentsState(null);
final HttpRequestBuilder httpClient = httpClient();