Skip to content

Commit

Permalink
disable mssql from ci integration checks
Browse files Browse the repository at this point in the history
  • Loading branch information
gopidesupavan committed Oct 9, 2024
1 parent d3e50e2 commit 6534ade
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
3 changes: 3 additions & 0 deletions dev/breeze/src/airflow_breeze/global_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@
"trino",
"ydb",
]
DISABLE_TESTABLE_INTEGRATIONS_FROM_CI = [
"mssql",
]
OTHER_INTEGRATIONS = ["statsd", "otel", "openlineage"]
ALLOWED_DEBIAN_VERSIONS = ["bookworm"]
ALL_INTEGRATIONS = sorted(
Expand Down
7 changes: 6 additions & 1 deletion dev/breeze/src/airflow_breeze/utils/selective_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
DEFAULT_MYSQL_VERSION,
DEFAULT_POSTGRES_VERSION,
DEFAULT_PYTHON_MAJOR_MINOR_VERSION,
DISABLE_TESTABLE_INTEGRATIONS_FROM_CI,
HELM_VERSION,
KIND_VERSION,
RUNS_ON_PUBLIC_RUNNER,
Expand Down Expand Up @@ -1295,7 +1296,11 @@ def excluded_providers_as_string(self) -> str:

@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):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
TEST_TABLE_ID = "Persons"


@pytest.mark.quarantined
@pytest.mark.integration("mssql")
class TestMsSqlToHiveTransfer:
def setup_method(self, mocker):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
]


@pytest.mark.quarantined
@pytest.mark.integration("mssql")
class TestBigQueryToMsSqlOperator:
def setup_method(self):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
]


@pytest.mark.quarantined
@pytest.mark.integration("mssql")
class TestMsSqlToGoogleCloudStorageOperator:
def setup_method(self):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
AIRFLOW_CONN_MSSQL_DEFAULT = "mssql://sa:airflow123@mssql:1433/"


@pytest.mark.quarantined
@pytest.mark.integration("mssql")
class TestMsSqlHook:
def setup_method(self):
Expand Down

0 comments on commit 6534ade

Please sign in to comment.