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

Use generic utils for cleanup db and operate with temp objects in TestXcomObjectStoreBackend #37166

Merged
merged 4 commits into from
Mar 30, 2024

Conversation

Taragolis
Copy link
Contributor

Use pytest temporary directory structure instead of hardcoded /tmp/xcom
Use tests.test_utils.db for cleanup test DB.
Avoid to directly change configuration, instead of that use conf_vars fixture


^ 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.

@Taragolis Taragolis added the type:misc/internal Changelog: Misc changes that should appear in change log label Feb 4, 2024
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale Stale PRs per the .github/workflows/stale.yml policy file label Mar 22, 2024
@Taragolis Taragolis force-pushed the test-xcom-io-use-common-fixtures branch from 111265d to 2756e0b Compare March 22, 2024 08:55
@Taragolis Taragolis added changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) and removed stale Stale PRs per the .github/workflows/stale.yml policy file type:misc/internal Changelog: Misc changes that should appear in change log labels Mar 22, 2024
@Taragolis Taragolis force-pushed the test-xcom-io-use-common-fixtures branch from 2756e0b to c65aa59 Compare March 29, 2024 20:28
@Taragolis
Copy link
Contributor Author

This PR better merge (and possibly rebase) after #38608

@potiuk potiuk merged commit a24860a into apache:main Mar 30, 2024
40 checks passed
@uranusjr
Copy link
Member

uranusjr commented Apr 1, 2024

Turns out this got merged first so I rebased #38608 instead. I think I did it right? @Taragolis

mathiaHT pushed a commit to mathiaHT/airflow that referenced this pull request Apr 4, 2024
…tXcomObjectStoreBackend (apache#37166)

* Use generic utils for cleanup db and operate with temp objects in TestXcomObjectStoreBackend

* Return back @pytest.mark.db_test markers

* Use global marker on module

* DRY: Use create_task_instance_of_operator fixture
utkarsharma2 pushed a commit to astronomer/airflow that referenced this pull request Apr 22, 2024
…tXcomObjectStoreBackend (apache#37166)

* Use generic utils for cleanup db and operate with temp objects in TestXcomObjectStoreBackend

* Return back @pytest.mark.db_test markers

* Use global marker on module

* DRY: Use create_task_instance_of_operator fixture
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants