Skip to content

Fix failing tests for test log handler - #42769

Closed
jscheffl wants to merge 5 commits into
apache:mainfrom
jscheffl:fix-failing-tests-for-test-log-handler
Closed

Fix failing tests for test log handler#42769
jscheffl wants to merge 5 commits into
apache:mainfrom
jscheffl:fix-failing-tests-for-test-log-handler

Conversation

@jscheffl

Copy link
Copy Markdown
Contributor

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.

potiukand 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
jschefflforce-pushed the fix-failing-tests-for-test-log-handler branch from cb48328 to 4c19081CompareOctober 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
Copy Markdown
ContributorAuthor

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
Copy Markdown
ContributorAuthor

Fixed by #42772

@jscheffljscheffl 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 freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@jscheffl@shahar1@potiuk