Skip to content

Commit

Permalink
Split up product tests suite 2
Browse files Browse the repository at this point in the history
Suite 2 total run time is over 1 hour so split it up
  • Loading branch information
nineinchnick committed Nov 15, 2022
1 parent 69ccde0 commit ed69894
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,7 @@ jobs:
- suite-clients
- suite-functions
- suite-tpch
- suite-storage-formats-detailed
exclude:
- config: default
ignore exclusion if: >-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public List<SuiteTestRun> getTestRuns(EnvironmentConfig config)
{
return ImmutableList.of(
testOnEnvironment(EnvSinglenode.class)
.withGroups("configured_features", "hdfs_no_impersonation", "storage_formats_detailed", "hive_compression", "hive_with_external_writes")
.withGroups("configured_features", "hdfs_no_impersonation")
.build(),
testOnEnvironment(EnvSinglenodeKerberosHdfsNoImpersonation.class)
.withGroups("configured_features", "storage_formats", "hdfs_no_impersonation")
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/*
* Licensed 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 io.trino.tests.product.launcher.suite.suites;

import com.google.common.collect.ImmutableList;
import io.trino.tests.product.launcher.env.EnvironmentConfig;
import io.trino.tests.product.launcher.env.environment.EnvSinglenode;
import io.trino.tests.product.launcher.suite.Suite;
import io.trino.tests.product.launcher.suite.SuiteTestRun;

import java.util.List;

import static io.trino.tests.product.launcher.suite.SuiteTestRun.testOnEnvironment;

public class SuiteStorageFormatsDetailed
extends Suite
{
@Override
public List<SuiteTestRun> getTestRuns(EnvironmentConfig config)
{
return ImmutableList.of(
testOnEnvironment(EnvSinglenode.class)
.withGroups("configured_features", "storage_formats_detailed", "hive_compression")
.build());
}
}

0 comments on commit ed69894

Please sign in to comment.