lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hoss...@apache.org
Subject svn commit: r1525935 - /lucene/dev/trunk/solr/core/src/test/org/apache/solr/core/TestImplicitCoreProperties.java
Date Tue, 24 Sep 2013 16:07:07 GMT
Author: hossman
Date: Tue Sep 24 16:07:07 2013
New Revision: 1525935

URL: http://svn.apache.org/r1525935
Log:
fix windows test failure in TestImplicitCoreProperties

Modified:
    lucene/dev/trunk/solr/core/src/test/org/apache/solr/core/TestImplicitCoreProperties.java

Modified: lucene/dev/trunk/solr/core/src/test/org/apache/solr/core/TestImplicitCoreProperties.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/test/org/apache/solr/core/TestImplicitCoreProperties.java?rev=1525935&r1=1525934&r2=1525935&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/test/org/apache/solr/core/TestImplicitCoreProperties.java
(original)
+++ lucene/dev/trunk/solr/core/src/test/org/apache/solr/core/TestImplicitCoreProperties.java
Tue Sep 24 16:07:07 2013
@@ -1,6 +1,7 @@
 package org.apache.solr.core;
 
 import org.apache.solr.SolrTestCaseJ4;
+import java.io.File;
 import org.junit.Test;
 
 /*
@@ -32,7 +33,7 @@ public class TestImplicitCoreProperties 
       cc.load();
       assertQ(req("q", "*:*")
               , "//str[@name='dummy1'][.='collection1']"
-              , "//str[@name='dummy2'][.='data/']"
+              , "//str[@name='dummy2'][.='data"+File.separator+"']"
               , "//str[@name='dummy3'][.='solrconfig-implicitproperties.xml']"
               , "//str[@name='dummy4'][.='schema.xml']"
               , "//str[@name='dummy5'][.='false']"



Mime
View raw message