Github user kaspersorensen commented on a diff in the pull request:

    https://github.com/apache/metamodel/pull/19#discussion_r29112490
  
    --- Diff: 
solr/src/test/java/org/apache/metamodel/solr/SolrDataContextTest1.java ---
    @@ -0,0 +1,199 @@
    +/**
    + * Licensed to the Apache Software Foundation (ASF) under one
    + * or more contributor license agreements.  See the NOTICE file
    + * distributed with this work for additional information
    + * regarding copyright ownership.  The ASF licenses this file
    + * to you under the Apache License, Version 2.0 (the
    + * "License"); you may not use this file except in compliance
    + * with the License.  You may obtain a copy of the License at
    + *
    + *   http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing,
    + * software distributed under the License is distributed on an
    + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    + * KIND, either express or implied.  See the License for the
    + * specific language governing permissions and limitations
    + * under the License.
    + */
    +package org.apache.metamodel.solr;
    +
    +import static org.junit.Assert.*;
    +
    +import java.util.ArrayList;
    +import java.util.Arrays;
    +import java.util.Date;
    +import java.util.LinkedHashMap;
    +import java.util.List;
    +import java.util.Map;
    +
    +import javax.swing.table.TableModel;
    +
    +import org.apache.metamodel.DataContext;
    +import org.apache.metamodel.data.DataSet;
    +import org.apache.metamodel.data.DataSetTableModel;
    +import org.apache.metamodel.data.FilteredDataSet;
    +import org.apache.metamodel.data.InMemoryDataSet;
    +import org.apache.metamodel.data.Row;
    +import org.apache.metamodel.query.FunctionType;
    +import org.apache.metamodel.query.Query;
    +import org.apache.metamodel.query.SelectItem;
    +import org.apache.metamodel.schema.Column;
    +import org.apache.metamodel.schema.ColumnType;
    +import org.apache.metamodel.schema.Table;
    +import org.junit.AfterClass;
    +import org.junit.BeforeClass;
    +import org.junit.Ignore;
    +import org.junit.Test;
    +
    +public class SolrDataContextTest1 {
    --- End diff --
    
    This class is somehow not running as part of continuous build. I think it 
is because the class name ends on 1 ...
    
    And if we enable it, I am sure it fails, which relates to my previous 
remark ... The tests should be able to run on any machine. But externalizing 
the connection info is valid, like we do it in SalesforceDataContextTest and 
others. Here we have properties that are optional in the 
__metamodel-integrationtest-configuration.properties__ file in your user home. 
If the properties are not specified, then we programmatically ensure that the 
test is skipped. That means that anyone with a Solr instance can configure the 
test to run without any source code modifications.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to