mirror of https://github.com/apache/lucene.git
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:
parent
30fa1375cd
commit
726607a6fc
|
@ -396,6 +396,7 @@ public class DistributedDebugComponentTest extends SolrJettyTestBase {
|
||||||
assertEquals("Unexpected response size for shard", 1, badShardTrack.size());
|
assertEquals("Unexpected response size for shard", 1, badShardTrack.size());
|
||||||
Entry<String, String> exception = badShardTrack.iterator().next();
|
Entry<String, String> exception = badShardTrack.iterator().next();
|
||||||
assertEquals("Expected key 'Exception' not found", "Exception", exception.getKey());
|
assertEquals("Expected key 'Exception' not found", "Exception", exception.getKey());
|
||||||
|
assertNotNull("Exception message should not be null", exception.getValue());
|
||||||
unIgnoreException("Server refused connection");
|
unIgnoreException("Server refused connection");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue