Skip to content

Commit 6f1ed8a

Browse files
committed
[TEST] Add additional logging to IndicesStoreIntegrationIT.testIndexCleanup
1 parent 495b246 commit 6f1ed8a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/src/test/java/org/elasticsearch/indices/store/IndicesStoreIntegrationIT.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,12 +142,16 @@ public void testIndexCleanup() throws Exception {
142142
transportServiceNode3.addTracer(new ReclocationStartEndTracer(logger, beginRelocationLatch, endRelocationLatch));
143143
internalCluster().client().admin().cluster().prepareReroute().add(new MoveAllocationCommand("test", 0, node_1, node_3)).get();
144144
// wait for relocation to start
145+
logger.info("--> waiting for relocation to start");
145146
beginRelocationLatch.await();
147+
logger.info("--> starting disruption");
146148
disruption.startDisrupting();
147149
// wait for relocation to finish
150+
logger.info("--> waiting for relocation to finish");
148151
endRelocationLatch.await();
149152
// wait a little so that cluster state observer is registered
150153
sleep(50);
154+
logger.info("--> stopping disruption");
151155
disruption.stopDisrupting();
152156
} else {
153157
internalCluster().client().admin().cluster().prepareReroute().add(new MoveAllocationCommand("test", 0, node_1, node_3)).get();

0 commit comments

Comments
 (0)