only print to stdout if test did not finish

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243135 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2012-02-11 19:40:17 +00:00
parent 6f5bf1c821
commit 5c50bf4c65
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ public class ZkControllerTest extends SolrTestCaseJ4 {
} }
testFinished = true; testFinished = true;
} finally { } finally {
if (testFinished) { if (!testFinished) {
zkController.getZkClient().printLayoutToStdOut(); zkController.getZkClient().printLayoutToStdOut();
} }