tweak test methods

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363335 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2012-07-19 13:52:02 +00:00
parent ef16608cb1
commit b7cbef534c
1 changed files with 12 additions and 0 deletions

View File

@ -1027,6 +1027,10 @@ public class FullSolrCloudTest extends AbstractDistributedZkTestCase {
if (verbose) System.err.println("error contacting client: "
+ e.getMessage() + "\n");
continue;
} catch (SolrException e) {
if (verbose) System.err.println("error contacting client: "
+ e.getMessage() + "\n");
continue;
}
boolean live = false;
@ -1274,6 +1278,10 @@ public class FullSolrCloudTest extends AbstractDistributedZkTestCase {
} catch (Exception e) {
System.err.println("REQUEST FAILED:");
e.printStackTrace();
if (e instanceof SolrServerException) {
System.err.println("ROOT CAUSE:");
((SolrServerException) e).getRootCause().printStackTrace();
}
fails.incrementAndGet();
}
}
@ -1285,6 +1293,10 @@ public class FullSolrCloudTest extends AbstractDistributedZkTestCase {
} catch (Exception e) {
System.err.println("REQUEST FAILED:");
e.printStackTrace();
if (e instanceof SolrServerException) {
System.err.println("ROOT CAUSE:");
((SolrServerException) e).getRootCause().printStackTrace();
}
fails.incrementAndGet();
}