mirror of https://github.com/apache/lucene.git
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:
parent
ef16608cb1
commit
b7cbef534c
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue