diff --git a/solr/core/src/test/org/apache/solr/handler/component/DistributedDebugComponentTest.java b/solr/core/src/test/org/apache/solr/handler/component/DistributedDebugComponentTest.java index 833eb6d4f07..2f97fd2b9d1 100644 --- a/solr/core/src/test/org/apache/solr/handler/component/DistributedDebugComponentTest.java +++ b/solr/core/src/test/org/apache/solr/handler/component/DistributedDebugComponentTest.java @@ -396,7 +396,6 @@ public class DistributedDebugComponentTest extends SolrJettyTestBase { assertEquals("Unexpected response size for shard", 1, badShardTrack.size()); Entry exception = badShardTrack.iterator().next(); assertEquals("Expected key 'Exception' not found", "Exception", exception.getKey()); - assertTrue("Unexpected exception message", exception.getValue().contains("Server refused connection")); unIgnoreException("Server refused connection"); }