SOLR-6175: Assert that exception message is not null

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1603236 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2014-06-17 17:50:29 +00:00
parent 30fa1375cd
commit 726607a6fc
1 changed files with 1 additions and 0 deletions

View File

@ -396,6 +396,7 @@ public class DistributedDebugComponentTest extends SolrJettyTestBase {
assertEquals("Unexpected response size for shard", 1, badShardTrack.size());
Entry<String, String> exception = badShardTrack.iterator().next();
assertEquals("Expected key 'Exception' not found", "Exception", exception.getKey());
assertNotNull("Exception message should not be null", exception.getValue());
unIgnoreException("Server refused connection");
}