This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-1-test by this push:
new f04ee0966b5 [v3-1-test] Fix 3-1-test breeze unit tests (#57300)
f04ee0966b5 is described below
commit f04ee0966b59086d67f83003013bb7ad1bf4f20e
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sun Oct 26 12:18:28 2025 +0100
[v3-1-test] Fix 3-1-test breeze unit tests (#57300)
Not everything is cherry-picked so the tests need to be fixed.
---
dev/breeze/tests/test_selective_checks.py | 16 +---------------
1 file changed, 1 insertion(+), 15 deletions(-)
diff --git a/dev/breeze/tests/test_selective_checks.py
b/dev/breeze/tests/test_selective_checks.py
index 1dd330ba80b..6c54340e37f 100644
--- a/dev/breeze/tests/test_selective_checks.py
+++ b/dev/breeze/tests/test_selective_checks.py
@@ -2530,25 +2530,12 @@ def test_runner_type_schedule(mock_get):
@pytest.mark.parametrize(
"integration, runner_type, expected_result",
[
- # Test integrations disabled for all CI environments
- pytest.param(
- "elasticsearch",
- PUBLIC_AMD_RUNNERS,
- True,
- id="elasticsearch_disabled_on_amd",
- ),
pytest.param(
"mssql",
PUBLIC_AMD_RUNNERS,
True,
id="mssql_disabled_on_amd",
),
- pytest.param(
- "localstack",
- '["ubuntu-22.04-arm"]',
- True,
- id="localstack_disabled_on_arm",
- ),
# Test integrations disabled only for ARM runners
pytest.param(
"kerberos",
@@ -2653,7 +2640,7 @@ def test_testable_core_integrations_excludes_disabled():
"""Test that testable_core_integrations excludes disabled integrations."""
with patch(
"airflow_breeze.utils.selective_checks.TESTABLE_CORE_INTEGRATIONS",
- ["postgres", "elasticsearch", "kerberos"],
+ ["postgres", "kerberos"],
):
# Test with AMD runner - should exclude elasticsearch (disabled for
all CI)
selective_checks_amd = SelectiveChecks(
@@ -2667,7 +2654,6 @@ def test_testable_core_integrations_excludes_disabled():
result = selective_checks_amd.testable_core_integrations
assert "postgres" in result
assert "kerberos" in result
- assert "elasticsearch" not in result
def test_testable_core_integrations_excludes_arm_disabled_on_arm():