This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 20f82901f44 Disable flaky mssql based integration tests (#42811)
20f82901f44 is described below
commit 20f82901f4437b8a6ce2831e4b0f9d245056ce7d
Author: GPK <[email protected]>
AuthorDate: Sun Oct 13 23:25:55 2024 +0100
Disable flaky mssql based integration tests (#42811)
* 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 3879c121433..cd8a59aa05c 100644
--- a/dev/breeze/src/airflow_breeze/global_constants.py
+++ b/dev/breeze/src/airflow_breeze/global_constants.py
@@ -68,6 +68,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 20bf514379f..cf4e124ff94 100644
--- a/dev/breeze/src/airflow_breeze/utils/selective_checks.py
+++ b/dev/breeze/src/airflow_breeze/utils/selective_checks.py
@@ -42,6 +42,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,
@@ -1318,7 +1319,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):