You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sh...@apache.org on 2014/06/17 19:50:30 UTC

svn commit: r1603236 - /lucene/dev/trunk/solr/core/src/test/org/apache/solr/handler/component/DistributedDebugComponentTest.java

Author: shalin
Date: Tue Jun 17 17:50:29 2014
New Revision: 1603236

URL: http://svn.apache.org/r1603236
Log:
SOLR-6175: Assert that exception message is not null

Modified:
    lucene/dev/trunk/solr/core/src/test/org/apache/solr/handler/component/DistributedDebugComponentTest.java

Modified: lucene/dev/trunk/solr/core/src/test/org/apache/solr/handler/component/DistributedDebugComponentTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/test/org/apache/solr/handler/component/DistributedDebugComponentTest.java?rev=1603236&r1=1603235&r2=1603236&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/test/org/apache/solr/handler/component/DistributedDebugComponentTest.java (original)
+++ lucene/dev/trunk/solr/core/src/test/org/apache/solr/handler/component/DistributedDebugComponentTest.java Tue Jun 17 17:50:29 2014
@@ -396,6 +396,7 @@ 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());
+    assertNotNull("Exception message should not be null", exception.getValue());
     unIgnoreException("Server refused connection");
   }