You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by tf...@apache.org on 2017/02/25 01:40:33 UTC

[2/2] lucene-solr:branch_6_4: SOLR-10190: Fixed assert message

SOLR-10190: Fixed assert message


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

Branch: refs/heads/branch_6_4
Commit: 900367912f2e75c3171fcf64a8b73fd5e11f6098
Parents: 2d63916
Author: Tomas Fernandez Lobbe <tf...@apache.org>
Authored: Fri Feb 24 17:37:44 2017 -0800
Committer: Tomas Fernandez Lobbe <tf...@apache.org>
Committed: Fri Feb 24 17:39:49 2017 -0800

----------------------------------------------------------------------
 .../org/apache/solr/client/solrj/impl/CloudSolrClientTest.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/90036791/solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudSolrClientTest.java
----------------------------------------------------------------------
diff --git a/solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudSolrClientTest.java b/solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudSolrClientTest.java
index c2fa49f..ade0b5a 100644
--- a/solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudSolrClientTest.java
+++ b/solr/solrj/src/test/org/apache/solr/client/solrj/impl/CloudSolrClientTest.java
@@ -166,7 +166,7 @@ public class CloudSolrClientTest extends SolrCloudTestCase {
         fail("Alias points to non-existing collection, add should fail");
       } catch (SolrException e) {
         assertEquals(SolrException.ErrorCode.BAD_REQUEST.code, e.code());
-        assertTrue("Unexpected error exception", e.getMessage().contains("Collection not found"));
+        assertTrue("Unexpected exception", e.getMessage().contains("Collection not found"));
       }
     }
   }