lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romseyg...@apache.org
Subject svn commit: r1645713 - in /lucene/dev/branches/branch_5x: ./ solr/ solr/core/ solr/core/src/test/org/apache/solr/cloud/TestModifyConfFiles.java
Date Mon, 15 Dec 2014 18:26:35 GMT
Author: romseygeek
Date: Mon Dec 15 18:26:34 2014
New Revision: 1645713

URL: http://svn.apache.org/r1645713
Log:
SOLR-6849: Fix another @Slow test

Modified:
    lucene/dev/branches/branch_5x/   (props changed)
    lucene/dev/branches/branch_5x/solr/   (props changed)
    lucene/dev/branches/branch_5x/solr/core/   (props changed)
    lucene/dev/branches/branch_5x/solr/core/src/test/org/apache/solr/cloud/TestModifyConfFiles.java

Modified: lucene/dev/branches/branch_5x/solr/core/src/test/org/apache/solr/cloud/TestModifyConfFiles.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/solr/core/src/test/org/apache/solr/cloud/TestModifyConfFiles.java?rev=1645713&r1=1645712&r2=1645713&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/solr/core/src/test/org/apache/solr/cloud/TestModifyConfFiles.java
(original)
+++ lucene/dev/branches/branch_5x/solr/core/src/test/org/apache/solr/cloud/TestModifyConfFiles.java
Mon Dec 15 18:26:34 2014
@@ -28,6 +28,8 @@ import org.apache.solr.common.util.Simpl
 import java.io.File;
 import java.nio.charset.StandardCharsets;
 
+import static org.junit.internal.matchers.StringContains.containsString;
+
 public class TestModifyConfFiles extends AbstractFullDistribZkTestBase {
 
   public TestModifyConfFiles() {
@@ -48,7 +50,7 @@ public class TestModifyConfFiles extends
       client.request(request);
       fail("Should have caught exception");
     } catch (Exception e) {
-      assertEquals(e.getMessage(), "Input stream list was null for admin file write operation.");
+      assertThat(e.getMessage(), containsString("Input stream list was null for admin file
write operation."));
     }
 
     params.remove("file");



Mime
View raw message