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

tests: use asyncio_mode = auto [DDB-901] #191

Merged
merged 2 commits into from
Mar 12, 2024

Conversation

joelynch
Copy link
Contributor

@joelynch joelynch commented Mar 11, 2024

This means that we do not miss tests by accidentally forgetting the pytest mark. Additionally this is needed to run tests using aiven-core pytest.

Additionally, I removed a duplicate github actions workflow.

@joelynch joelynch requested a review from a team March 11, 2024 17:47
@joelynch joelynch force-pushed the joelynch/fix-for-aiven-core branch from a6d86d9 to 4ddfb10 Compare March 11, 2024 17:50
Copy link
Contributor

@alanfranz alanfranz left a comment

Choose a reason for hiding this comment

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

tests/unit/coordinator/plugins/test_base.py::test_upload_step_uses_new_request_if_supported[no_feature] SKIPPED (async def function and no async plugin installed (see warnings))
tests/unit/coordinator/plugins/test_base.py::test_upload_step_uses_new_request_if_supported[validate_file_hashes] SKIPPED (async def function and no async plugin installed (see warnings))

So, async tests don't run nevertheless; this could be the intended behaviour (maybe we just want to run those in aiven-core) but the commit message is misleading, as it would imply that we'd be running those tests by now; so I think we should either add an async plugin or amend the commit and pr message.

@joelynch joelynch force-pushed the joelynch/fix-for-aiven-core branch 3 times, most recently from c97957b to ee6c9f5 Compare March 12, 2024 10:46
This means that we do not miss tests by accidentally forgetting
the pytest mark.  Additionally this is needed to run tests using
aiven-core pytest.
@joelynch joelynch force-pushed the joelynch/fix-for-aiven-core branch from ee6c9f5 to 05c8668 Compare March 12, 2024 10:47
@joelynch joelynch requested review from alanfranz and a team March 12, 2024 10:49
@joelynch joelynch changed the title tests: use asyncio_mode = auto tests: use asyncio_mode = auto [DDB-901] Mar 12, 2024
@kmichel-aiven kmichel-aiven merged commit 2712e4f into main Mar 12, 2024
3 checks passed
@kmichel-aiven kmichel-aiven deleted the joelynch/fix-for-aiven-core branch March 12, 2024 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants