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 cff5c239ef5..dd0dd16d291 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")); } } }