From 21afb0dc6f5537426c9cf74f5311af1bc267f063 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Sun, 26 Oct 2025 12:14:57 +0100 Subject: [PATCH] [v3-1-test] Fix 3-1-test breeze unit tests 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 1dd330ba80b64..6c54340e37f06 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():