Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark WASB blob tests as DB tests #38963

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Apr 12, 2024

The WASB blob tests started to fail intermittently after retries were implemented in #38910. Without understanding all the details, it seems that the async tests run in xdist mode of tests suffer from the bug of pytest-xdist - because the thread that runs some of the tests is not main and it likely interferes with signals handling and is likely an incarnation of
pytest-dev/pytest-xdist#620 (which still needs to be solved in pytest-xdist)

Since those two tests that keeps on failing intermittently and the other tests have been marked as db_test - likely for the same reason, we should simply mark all the module as db_test to avoid the interference.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

The WASB blob tests started to fail intermittently after retries were
implemented in apache#38910. Without understanding all the details, it
seems that the async tests run in xdist mode of tests suffer from the
bug of pytest-xdist - because the thread that runs some of the tests
is not main and it likely interferes with signals handling and is
likely an incarnation of
pytest-dev/pytest-xdist#620
(which still needs to be solved in pytest-xdist)

Since those two tests that keeps on failing intermittently and the other
tests have been marked as db_test - likely for the same reason, we
should simply mark all the module as db_test to avoid the interference.
@potiuk
Copy link
Member Author

potiuk commented Apr 12, 2024

cc: @dabla

@dabla
Copy link
Contributor

dabla commented Apr 12, 2024

@potiuk Also saw that it was suddenly failing in my PR #38111 so I marked them as db test, awaiting the run result to see if this fixes it

@potiuk potiuk merged commit 8507ad9 into apache:main Apr 12, 2024
41 checks passed
@potiuk potiuk deleted the mark-wasb-blob-tests-as-db-tests branch April 12, 2024 12:24
@potiuk
Copy link
Member Author

potiuk commented Apr 12, 2024

Looks like

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