From 30fa1375cd8175e656695526242c12e543b20720 Mon Sep 17 00:00:00 2001 From: Shalin Shekhar Mangar Date: Tue, 17 Jun 2014 17:44:07 +0000 Subject: [PATCH] SOLR-6175: Fix failing test by removing assert that matches exception message. They might be different between platforms. git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1603233 13f79535-47bb-0310-9956-ffa450edef68 --- .../solr/handler/component/DistributedDebugComponentTest.java | 1 - 1 file changed, 1 deletion(-) 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"); }