You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by to...@apache.org on 2012/03/29 11:31:36 UTC

svn commit: r1306768 - /lucene/dev/branches/branch_3x/solr/core/src/test/org/apache/solr/update/SolrIndexConfigTest.java

Author: tommaso
Date: Thu Mar 29 09:31:36 2012
New Revision: 1306768

URL: http://svn.apache.org/viewvc?rev=1306768&view=rev
Log:
[SOLR-2983] - added missing prefix parameter inside SolrIndexConfigTest

Modified:
    lucene/dev/branches/branch_3x/solr/core/src/test/org/apache/solr/update/SolrIndexConfigTest.java

Modified: lucene/dev/branches/branch_3x/solr/core/src/test/org/apache/solr/update/SolrIndexConfigTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/solr/core/src/test/org/apache/solr/update/SolrIndexConfigTest.java?rev=1306768&r1=1306767&r2=1306768&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/solr/core/src/test/org/apache/solr/update/SolrIndexConfigTest.java (original)
+++ lucene/dev/branches/branch_3x/solr/core/src/test/org/apache/solr/update/SolrIndexConfigTest.java Thu Mar 29 09:31:36 2012
@@ -31,7 +31,7 @@ public class SolrIndexConfigTest extends
   public void testFailingSolrIndexConfigCreation() {
     try {
       SolrConfig solrConfig = new SolrConfig("bad-mp-solrconfig.xml");
-      SolrIndexConfig solrIndexConfig = new SolrIndexConfig(solrConfig, null, null);
+      SolrIndexConfig solrIndexConfig = new SolrIndexConfig(solrConfig, "/", null);
       IndexSchema indexSchema = new IndexSchema(solrConfig, "schema.xml", null);
       solrIndexConfig.toIndexWriterConfig(indexSchema);
       fail("a mergePolicy should have an empty constructor in order to be instantiated in Solr thus this should fail ");
@@ -43,7 +43,7 @@ public class SolrIndexConfigTest extends
   @Test
   public void testTieredMPSolrIndexConfigCreation() throws Exception {
     SolrConfig solrConfig = new SolrConfig("solrconfig-mergepolicy.xml");
-    SolrIndexConfig solrIndexConfig = new SolrIndexConfig(solrConfig, null, null);
+    SolrIndexConfig solrIndexConfig = new SolrIndexConfig(solrConfig, "/", null);
     assertNotNull(solrIndexConfig);
     assertEquals("org.apache.lucene.index.TieredMergePolicy", solrIndexConfig.defaultMergePolicyClassName);
     IndexSchema indexSchema = new IndexSchema(solrConfig, "schema.xml", null);