From 3323ac1579fc8d7f23adbb8f816723475b9ec027 Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Mon, 20 Oct 2014 11:26:56 -0700 Subject: [PATCH] Tests: Adding additional debug info to upgrade test. --- .../rest/action/admin/indices/upgrade/UpgradeTest.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/test/java/org/elasticsearch/rest/action/admin/indices/upgrade/UpgradeTest.java b/src/test/java/org/elasticsearch/rest/action/admin/indices/upgrade/UpgradeTest.java index 05cf4f0484e..ca778771589 100644 --- a/src/test/java/org/elasticsearch/rest/action/admin/indices/upgrade/UpgradeTest.java +++ b/src/test/java/org/elasticsearch/rest/action/admin/indices/upgrade/UpgradeTest.java @@ -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();