cpoerschke commented on code in PR #900:
URL: https://github.com/apache/solr/pull/900#discussion_r900391786


##########
solr/core/src/test/org/apache/solr/handler/designer/TestSchemaDesignerAPI.java:
##########
@@ -67,13 +66,9 @@ public class TestSchemaDesignerAPI extends SolrCloudTestCase 
implements SchemaDe
 
   @BeforeClass
   public static void createCluster() throws Exception {

Review Comment:
   ```suggestion
     public static void createCluster() throws Exception {
       System.setProperty("managed.schema.mutable", "true");
   ```
   
   re-instate code



##########
solr/core/src/test/org/apache/solr/handler/designer/TestSchemaDesignerAPI.java:
##########
@@ -67,13 +66,9 @@ public class TestSchemaDesignerAPI extends SolrCloudTestCase 
implements SchemaDe
 
   @BeforeClass
   public static void createCluster() throws Exception {
-    System.setProperty("managed.schema.mutable", "true");
     configureCluster(1)
         .addConfig(DEFAULT_CONFIGSET_NAME, new 
File(ExternalPaths.DEFAULT_CONFIGSET).toPath())
         .configure();
-    // SchemaDesignerAPI depends on the blob store
-    CollectionAdminRequest.createCollection(BLOB_STORE_ID, 1, 
1).process(cluster.getSolrClient());
-    cluster.waitForActiveCollection(BLOB_STORE_ID, 1, 1);
   }

Review Comment:
   ```suggestion
       // SchemaDesignerAPI depends on the blob store
       CollectionAdminRequest.createCollection(BLOB_STORE_ID, 1, 
1).process(cluster.getSolrClient());
       cluster.waitForActiveCollection(BLOB_STORE_ID, 1, 1);
     }
   ```
   re-instate code



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to