SOLR-10190: Fixed assert message

This commit is contained in:
Tomas Fernandez Lobbe 2017-02-24 17:37:44 -08:00
parent 39887b8629
commit 99e8ef2304
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ public class CloudSolrClientTest extends SolrCloudTestCase {
fail("Alias points to non-existing collection, add should fail"); fail("Alias points to non-existing collection, add should fail");
} catch (SolrException e) { } catch (SolrException e) {
assertEquals(SolrException.ErrorCode.BAD_REQUEST.code, e.code()); 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"));
} }
} }
} }