lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cpoersc...@apache.org
Subject [36/59] [abbrv] lucene-solr:jira/solr-8668: SOLR-10413: Fix precommit
Date Thu, 25 May 2017 17:36:41 GMT
SOLR-10413: Fix precommit


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/eb475db9
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/eb475db9
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/eb475db9

Branch: refs/heads/jira/solr-8668
Commit: eb475db9c4811d6364000e6ebe372773b3585df0
Parents: 9e3c710
Author: Cao Manh Dat <datcm@apache.org>
Authored: Fri May 19 09:43:37 2017 +0700
Committer: Cao Manh Dat <datcm@apache.org>
Committed: Fri May 19 09:43:37 2017 +0700

----------------------------------------------------------------------
 .../test/org/apache/solr/handler/admin/TestCollectionAPIs.java    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/eb475db9/solr/core/src/test/org/apache/solr/handler/admin/TestCollectionAPIs.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/handler/admin/TestCollectionAPIs.java b/solr/core/src/test/org/apache/solr/handler/admin/TestCollectionAPIs.java
index 7b79443..9f5a246 100644
--- a/solr/core/src/test/org/apache/solr/handler/admin/TestCollectionAPIs.java
+++ b/solr/core/src/test/org/apache/solr/handler/admin/TestCollectionAPIs.java
@@ -27,7 +27,6 @@ import java.util.List;
 import java.util.Map;
 
 import org.apache.solr.SolrTestCaseJ4;
-import org.apache.solr.api.ApiException;
 import org.apache.solr.client.solrj.SolrRequest;
 import org.apache.solr.common.cloud.ZkNodeProps;
 import org.apache.solr.common.params.CollectionParams;
@@ -186,7 +185,7 @@ public class TestCollectionAPIs extends SolrTestCaseJ4 {
     };
     try {
       api.call(req, rsp);
-    } catch (ApiException e) {
+    } catch (ApiBag.ExceptionWithErrObject e) {
       throw new RuntimeException(e.getMessage() + Utils.toJSONString(e.getErrs()), e);
 
     }


Mime
View raw message