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:38:59 UTC
[2/2] lucene-solr:branch_6x: 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/1b91349f
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/1b91349f
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/1b91349f
Branch: refs/heads/branch_6x
Commit: 1b91349fcd29afb931ea77299ac47a7c783b1532
Parents: f9d9ff9
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:38:18 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/1b91349f/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"));
}
}
}