You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sa...@apache.org on 2017/07/26 22:42:57 UTC

[2/3] lucene-solr:branch_7x: SOLR-10760: fix another Solrj test

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 <sa...@apache.org>
Authored: Wed Jul 26 18:42:17 2017 -0400
Committer: Steve Rowe <sa...@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();