From 5c50bf4c657fc1114074eae16e93c6e054128fbc Mon Sep 17 00:00:00 2001 From: Mark Robert Miller Date: Sat, 11 Feb 2012 19:40:17 +0000 Subject: [PATCH] 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 --- solr/core/src/test/org/apache/solr/cloud/ZkControllerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solr/core/src/test/org/apache/solr/cloud/ZkControllerTest.java b/solr/core/src/test/org/apache/solr/cloud/ZkControllerTest.java index 65b62766d6c..8809f6c3b54 100644 --- a/solr/core/src/test/org/apache/solr/cloud/ZkControllerTest.java +++ b/solr/core/src/test/org/apache/solr/cloud/ZkControllerTest.java @@ -130,7 +130,7 @@ public class ZkControllerTest extends SolrTestCaseJ4 { } testFinished = true; } finally { - if (testFinished) { + if (!testFinished) { zkController.getZkClient().printLayoutToStdOut(); }