lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sar...@apache.org
Subject [2/3] lucene-solr:branch_7x: SOLR-10760: fix another Solrj test
Date Wed, 26 Jul 2017 22:42:57 GMT
SOLR-10760: fix another Solrj test


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

Branch: refs/heads/branch_7x
Commit: cef31d62411b6377fdb517ad2d8030c629a1da18
Parents: 90809f2
Author: Steve Rowe <sarowe@apache.org>
Authored: Wed Jul 26 18:42:17 2017 -0400
Committer: Steve Rowe <sarowe@apache.org>
Committed: Wed Jul 26 18:42:41 2017 -0400

----------------------------------------------------------------------
 .../src/test/org/apache/solr/client/solrj/SolrExampleTests.java   | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/cef31d62/solr/solrj/src/test/org/apache/solr/client/solrj/SolrExampleTests.java
----------------------------------------------------------------------
diff --git a/solr/solrj/src/test/org/apache/solr/client/solrj/SolrExampleTests.java b/solr/solrj/src/test/org/apache/solr/client/solrj/SolrExampleTests.java
index 3a57e5a..39158cb 100644
--- a/solr/solrj/src/test/org/apache/solr/client/solrj/SolrExampleTests.java
+++ b/solr/solrj/src/test/org/apache/solr/client/solrj/SolrExampleTests.java
@@ -421,6 +421,9 @@ abstract public class SolrExampleTests extends SolrExampleTestsBase
     catch(SolrException ex) {
       assertEquals(500, ex.code());
       assertThat(ex.getMessage(), containsString(" Can't generate internal string in PointField.
use PointField.toInternalByteRef"));
+    } 
+    catch (SolrServerException ex) {
+      assertThat(ex.getMessage(), containsString(" Can't generate internal string in PointField.
use PointField.toInternalByteRef"));
     }
     catch(Throwable t) {
       t.printStackTrace();


Mime
View raw message