This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v2-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v2-10-test by this push:
new e7afaa5da6 Disable flaky mssql based integration tests (#42811)
(#43016)
e7afaa5da6 is described below
commit e7afaa5da61c619f1561bf5a9df5d40e35d2ade9
Author: GPK <[email protected]>
AuthorDate: Tue Oct 15 01:41:58 2024 +0100
Disable flaky mssql based integration tests (#42811) (#43016)
* quarantined flaky mssql integration tests
* disable mssql from ci integration checks
---
dev/breeze/src/airflow_breeze/global_constants.py | 3 +++
dev/breeze/src/airflow_breeze/utils/selective_checks.py | 7 ++++++-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/dev/breeze/src/airflow_breeze/global_constants.py
b/dev/breeze/src/airflow_breeze/global_constants.py
index 956a71aeb4..b62178c5cd 100644
--- a/dev/breeze/src/airflow_breeze/global_constants.py
+++ b/dev/breeze/src/airflow_breeze/global_constants.py
@@ -67,6 +67,9 @@ TESTABLE_INTEGRATIONS = [
"trino",
"ydb",
]
+DISABLE_TESTABLE_INTEGRATIONS_FROM_CI = [
+ "mssql",
+]
OTHER_INTEGRATIONS = ["statsd", "otel", "openlineage"]
ALLOWED_DEBIAN_VERSIONS = ["bookworm"]
ALL_INTEGRATIONS = sorted(
diff --git a/dev/breeze/src/airflow_breeze/utils/selective_checks.py
b/dev/breeze/src/airflow_breeze/utils/selective_checks.py
index 224e76c251..ee077aefe2 100644
--- a/dev/breeze/src/airflow_breeze/utils/selective_checks.py
+++ b/dev/breeze/src/airflow_breeze/utils/selective_checks.py
@@ -41,6 +41,7 @@ from airflow_breeze.global_constants import (
DEFAULT_MYSQL_VERSION,
DEFAULT_POSTGRES_VERSION,
DEFAULT_PYTHON_MAJOR_MINOR_VERSION,
+ DISABLE_TESTABLE_INTEGRATIONS_FROM_CI,
HELM_VERSION,
KIND_VERSION,
RUNS_ON_PUBLIC_RUNNER,
@@ -1257,7 +1258,11 @@ class SelectiveChecks:
@cached_property
def testable_integrations(self) -> list[str]:
- return TESTABLE_INTEGRATIONS
+ return [
+ integration
+ for integration in TESTABLE_INTEGRATIONS
+ if integration not in DISABLE_TESTABLE_INTEGRATIONS_FROM_CI
+ ]
@cached_property
def is_committer_build(self):