mirror of
https://github.com/apache/druid.git
synced 2025-02-09 19:44:57 +00:00
Remove migrated deep storage standard ITs (#16933)
This commit is contained in:
parent
18a9a7570a
commit
40f38f0191
@ -1,49 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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.druid.tests.indexer;
|
|
||||||
|
|
||||||
import org.apache.druid.java.util.common.Pair;
|
|
||||||
import org.apache.druid.testing.guice.DruidTestModuleFactory;
|
|
||||||
import org.apache.druid.tests.TestNGGroup;
|
|
||||||
import org.testng.annotations.Guice;
|
|
||||||
import org.testng.annotations.Test;
|
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* IMPORTANT:
|
|
||||||
* To run this test, you must:
|
|
||||||
* 1) Set the bucket and path for your data. This can be done by setting -Ddruid.test.config.cloudBucket and
|
|
||||||
* -Ddruid.test.config.cloudPath or setting "cloud_bucket" and "cloud_path" in the config file.
|
|
||||||
* 2) Copy wikipedia_index_data1.json, wikipedia_index_data2.json, and wikipedia_index_data3.json
|
|
||||||
* located in integration-tests/src/test/resources/data/batch_index/json to your Azure at the location set in step 1.
|
|
||||||
* 3) Provide -Doverride.config.path=<PATH_TO_FILE> with Azure credentials/configs set. See
|
|
||||||
* integration-tests/docker/environment-configs/override-examples/azure for env vars to provide.
|
|
||||||
*/
|
|
||||||
@Test(groups = TestNGGroup.AZURE_DEEP_STORAGE)
|
|
||||||
@Guice(moduleFactory = DruidTestModuleFactory.class)
|
|
||||||
public class ITAzureToAzureParallelIndexTest extends AbstractAzureInputSourceParallelIndexTest
|
|
||||||
{
|
|
||||||
@Test(dataProvider = "resources")
|
|
||||||
public void testAzureIndexData(Pair<String, List> azureInputSource) throws Exception
|
|
||||||
{
|
|
||||||
doTest(azureInputSource, new Pair<>(false, false));
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,50 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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.druid.tests.indexer;
|
|
||||||
|
|
||||||
import org.apache.druid.java.util.common.Pair;
|
|
||||||
import org.apache.druid.testing.guice.DruidTestModuleFactory;
|
|
||||||
import org.apache.druid.tests.TestNGGroup;
|
|
||||||
import org.testng.annotations.Guice;
|
|
||||||
import org.testng.annotations.Test;
|
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* IMPORTANT:
|
|
||||||
* To run this test, you must:
|
|
||||||
* 1) Set the bucket and path for your data. This can be done by setting -Ddruid.test.config.cloudBucket and
|
|
||||||
* -Ddruid.test.config.cloudPath or setting "cloud_bucket" and "cloud_path" in the config file.
|
|
||||||
* 2) Copy wikipedia_index_data1.json, wikipedia_index_data2.json, and wikipedia_index_data3.json
|
|
||||||
* located in integration-tests/src/test/resources/data/batch_index/json to your GCS at the location set in step 1.
|
|
||||||
* 3) Provide -Doverride.config.path=<PATH_TO_FILE> with gcs configs set. See
|
|
||||||
* integration-tests/docker/environment-configs/override-examples/gcs for env vars to provide.
|
|
||||||
* 4) Provide -Dresource.file.dir.path=<PATH_TO_FOLDER> with folder that contains GOOGLE_APPLICATION_CREDENTIALS file
|
|
||||||
*/
|
|
||||||
@Test(groups = TestNGGroup.GCS_DEEP_STORAGE)
|
|
||||||
@Guice(moduleFactory = DruidTestModuleFactory.class)
|
|
||||||
public class ITGcsToGcsParallelIndexTest extends AbstractGcsInputSourceParallelIndexTest
|
|
||||||
{
|
|
||||||
@Test(dataProvider = "resources")
|
|
||||||
public void testGcsIndexData(Pair<String, List> gcsInputSource) throws Exception
|
|
||||||
{
|
|
||||||
doTest(gcsInputSource, new Pair<>(false, false));
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,49 +0,0 @@
|
|||||||
/*
|
|
||||||
* 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.druid.tests.indexer;
|
|
||||||
|
|
||||||
import org.apache.druid.java.util.common.Pair;
|
|
||||||
import org.apache.druid.testing.guice.DruidTestModuleFactory;
|
|
||||||
import org.apache.druid.tests.TestNGGroup;
|
|
||||||
import org.testng.annotations.Guice;
|
|
||||||
import org.testng.annotations.Test;
|
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* IMPORTANT:
|
|
||||||
* To run this test, you must:
|
|
||||||
* 1) Set the bucket and path for your data. This can be done by setting -Ddruid.test.config.cloudBucket and
|
|
||||||
* -Ddruid.test.config.cloudPath or setting "cloud_bucket" and "cloud_path" in the config file.
|
|
||||||
* 2) Copy wikipedia_index_data1.json, wikipedia_index_data2.json, and wikipedia_index_data3.json
|
|
||||||
* located in integration-tests/src/test/resources/data/batch_index/json to your S3 at the location set in step 1.
|
|
||||||
* 3) Provide -Doverride.config.path=<PATH_TO_FILE> with s3 credentials/configs set. See
|
|
||||||
* integration-tests/docker/environment-configs/override-examples/s3 for env vars to provide.
|
|
||||||
*/
|
|
||||||
@Test(groups = TestNGGroup.S3_DEEP_STORAGE)
|
|
||||||
@Guice(moduleFactory = DruidTestModuleFactory.class)
|
|
||||||
public class ITS3ToS3ParallelIndexTest extends AbstractS3InputSourceParallelIndexTest
|
|
||||||
{
|
|
||||||
@Test(dataProvider = "resources")
|
|
||||||
public void testS3IndexData(Pair<String, List> s3InputSource) throws Exception
|
|
||||||
{
|
|
||||||
doTest(s3InputSource, new Pair<>(false, false));
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user