lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sha...@apache.org
Subject svn commit: r1603234 - in /lucene/dev/branches/branch_4x: ./ solr/ solr/core/ solr/core/src/test/org/apache/solr/handler/component/DistributedDebugComponentTest.java
Date Tue, 17 Jun 2014 17:44:34 GMT
Author: shalin
Date: Tue Jun 17 17:44:34 2014
New Revision: 1603234

URL: http://svn.apache.org/r1603234
Log:
SOLR-6175: Fix failing test by removing assert that matches exception message. They might
be different between platforms.

Modified:
    lucene/dev/branches/branch_4x/   (props changed)
    lucene/dev/branches/branch_4x/solr/   (props changed)
    lucene/dev/branches/branch_4x/solr/core/   (props changed)
    lucene/dev/branches/branch_4x/solr/core/src/test/org/apache/solr/handler/component/DistributedDebugComponentTest.java

Modified: lucene/dev/branches/branch_4x/solr/core/src/test/org/apache/solr/handler/component/DistributedDebugComponentTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/core/src/test/org/apache/solr/handler/component/DistributedDebugComponentTest.java?rev=1603234&r1=1603233&r2=1603234&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/core/src/test/org/apache/solr/handler/component/DistributedDebugComponentTest.java
(original)
+++ lucene/dev/branches/branch_4x/solr/core/src/test/org/apache/solr/handler/component/DistributedDebugComponentTest.java
Tue Jun 17 17:44:34 2014
@@ -396,7 +396,6 @@ public class DistributedDebugComponentTe
     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());
-    assertTrue("Unexpected exception message", exception.getValue().contains("Server refused
connection"));
     unIgnoreException("Server refused connection");
   }
   



Mime
View raw message