Skip to content

Commit 94c0377

Browse files
committed
test: skip tests
1 parent e8d59e4 commit 94c0377

File tree

8 files changed

+15
-15
lines changed

8 files changed

+15
-15
lines changed

.github/workflows/integration_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
python-version: [ "3.8", "3.11" ]
21-
engine-version: [ "lts", "latest"]
21+
engine-version: ["latest"]
2222
environment: ["mysql", "pg"]
2323

2424
steps:

tests/integration/container/test_aurora_failover.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@
4444
@enable_on_deployments([DatabaseEngineDeployment.AURORA, DatabaseEngineDeployment.RDS_MULTI_AZ_CLUSTER])
4545
@disable_on_features([TestEnvironmentFeatures.RUN_AUTOSCALING_TESTS_ONLY,
4646
TestEnvironmentFeatures.BLUE_GREEN_DEPLOYMENT,
47+
TestEnvironmentFeatures.SKIP_MYSQL_DRIVER_TESTS,
48+
TestEnvironmentFeatures.SKIP_PG_DRIVER_TESTS,
4749
TestEnvironmentFeatures.PERFORMANCE])
4850
class TestAuroraFailover:
4951
IDLE_CONNECTIONS_NUM: int = 5

tests/integration/container/test_basic_connectivity.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838

3939
@disable_on_features([TestEnvironmentFeatures.RUN_AUTOSCALING_TESTS_ONLY,
4040
TestEnvironmentFeatures.BLUE_GREEN_DEPLOYMENT,
41+
TestEnvironmentFeatures.SKIP_MYSQL_DRIVER_TESTS,
42+
TestEnvironmentFeatures.SKIP_PG_DRIVER_TESTS,
4143
TestEnvironmentFeatures.PERFORMANCE])
4244
class TestBasicConnectivity:
4345

tests/integration/container/test_basic_functionality.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@
4848

4949
@disable_on_features([TestEnvironmentFeatures.RUN_AUTOSCALING_TESTS_ONLY,
5050
TestEnvironmentFeatures.BLUE_GREEN_DEPLOYMENT,
51+
TestEnvironmentFeatures.SKIP_MYSQL_DRIVER_TESTS,
52+
TestEnvironmentFeatures.SKIP_PG_DRIVER_TESTS,
5153
TestEnvironmentFeatures.PERFORMANCE])
5254
class TestBasicFunctionality:
5355

tests/integration/container/test_custom_endpoint.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@
4747
@enable_on_deployments([DatabaseEngineDeployment.AURORA])
4848
@disable_on_features([TestEnvironmentFeatures.RUN_AUTOSCALING_TESTS_ONLY,
4949
TestEnvironmentFeatures.BLUE_GREEN_DEPLOYMENT,
50+
TestEnvironmentFeatures.SKIP_MYSQL_DRIVER_TESTS,
51+
TestEnvironmentFeatures.SKIP_PG_DRIVER_TESTS,
5052
TestEnvironmentFeatures.PERFORMANCE])
5153
class TestCustomEndpoint:
5254
logger: ClassVar[Logger] = Logger(__name__)

tests/integration/container/test_host_monitoring_v2.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
DatabaseEngineDeployment.RDS_MULTI_AZ_INSTANCE])
4444
@disable_on_features([TestEnvironmentFeatures.PERFORMANCE,
4545
TestEnvironmentFeatures.RUN_AUTOSCALING_TESTS_ONLY,
46+
TestEnvironmentFeatures.SKIP_MYSQL_DRIVER_TESTS,
47+
TestEnvironmentFeatures.SKIP_PG_DRIVER_TESTS,
4648
TestEnvironmentFeatures.BLUE_GREEN_DEPLOYMENT])
4749
class TestHostMonitoringV2:
4850
@pytest.fixture(scope='class')

tests/integration/container/test_iam_authentication.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@
4141
@enable_on_features([TestEnvironmentFeatures.IAM])
4242
@disable_on_features([TestEnvironmentFeatures.RUN_AUTOSCALING_TESTS_ONLY,
4343
TestEnvironmentFeatures.BLUE_GREEN_DEPLOYMENT,
44+
TestEnvironmentFeatures.SKIP_MYSQL_DRIVER_TESTS,
45+
TestEnvironmentFeatures.SKIP_PG_DRIVER_TESTS,
4446
TestEnvironmentFeatures.PERFORMANCE])
4547
class TestAwsIamAuthentication:
4648

tests/integration/host/src/test/java/integration/host/TestEnvironmentProvider.java

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -86,19 +86,7 @@ public Stream<TestTemplateInvocationContext> provideTestTemplateInvocationContex
8686
continue;
8787
}
8888

89-
for (int numOfInstances : Arrays.asList(1, 2, 3, 5)) {
90-
if (instances == DatabaseInstances.SINGLE_INSTANCE && numOfInstances > 1) {
91-
continue;
92-
}
93-
if (instances == DatabaseInstances.MULTI_INSTANCE && numOfInstances == 1) {
94-
continue;
95-
}
96-
if (numOfInstances == 1 && config.excludeInstances1) {
97-
continue;
98-
}
99-
if (numOfInstances == 2 && config.excludeInstances2) {
100-
continue;
101-
}
89+
for (int numOfInstances : Arrays.asList(3,5)) {
10290
if (numOfInstances == 3 && config.excludeInstances3) {
10391
continue;
10492
}
@@ -109,7 +97,7 @@ public Stream<TestTemplateInvocationContext> provideTestTemplateInvocationContex
10997
// Multi-AZ clusters supports only 3 instances
11098
continue;
11199
}
112-
if (deployment == DatabaseEngineDeployment.RDS_MULTI_AZ_INSTANCE && numOfInstances != 1) {
100+
if (deployment == DatabaseEngineDeployment.RDS_MULTI_AZ_INSTANCE) {
113101
// Multi-AZ Instances supports only 1 instance
114102
continue;
115103
}

0 commit comments

Comments
 (0)