Skip to content

Conversation

@jscheffl
Copy link
Contributor

@jscheffl jscheffl commented Oct 5, 2024

Unable to push to #42762 branch, therefore attempt to fix in parallel:

The #42751 removed airflow_version from k8s log handler and apparently some tests in tests_utils still use kubernetes provider and k8s test handler. Also it turned out some other tests used Celery Executor as well.

Fixed the tests and move them to K8S / Celery provider respectively.

potiuk and others added 3 commits October 5, 2024 17:14
The apache#42751 removed airflow_version from k8s log handler and
apparently some tests in tests_utils still use kubernetes provider
and k8s test handler. Also it turned out some other tests
used Celery Executor as well.

Fixed the tests and move them to K8S / Celery provider respectively.
@jscheffl jscheffl force-pushed the fix-failing-tests-for-test-log-handler branch from cb48328 to 4c19081 Compare October 5, 2024 15:15
def teardown_method(self):
self.clean_up()

@pytest.mark.skipif(not AIRFLOW_V_2_9_PLUS, reason="The tests should be skipped for Airflow < 2.9")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@potiuk don't know why this is failing in Airflow 2.8 Compat... do you know? Okay to "just exclude"?

@jscheffl
Copy link
Contributor Author

jscheffl commented Oct 5, 2024

Fixed by #42772

@jscheffl jscheffl closed this Oct 5, 2024
@jscheffl jscheffl deleted the fix-failing-tests-for-test-log-handler branch October 5, 2025 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants