Skip to content

Async package registry tests #7135

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

Merged
merged 2 commits into from
Nov 29, 2023
Merged

Async package registry tests #7135

merged 2 commits into from
Nov 29, 2023

Conversation

AndrewHoos
Copy link
Contributor

Move PackageRegistryTests to async/await

Motivation:

To keep moving things from temp_await to actual await

Modifications:

Add async alternatives to registry methods
Mark non-async methods noasync to encourage migration

Result:

All, but one use of temp_await is removed from the tests

…_await

Add async alternatives to PackageSigningEntityStorage
Mark non-async methods noasync
Improve the fixture method to return the result of the body
@jakepetroules
Copy link
Contributor

@swift-ci please test

Add async alternatives
Leave a note on why the last temp_await is not removed
@AndrewHoos AndrewHoos force-pushed the async-PackageRegistryTests branch from 789f1ed to 44506bb Compare November 29, 2023 16:57
@AndrewHoos
Copy link
Contributor Author

@swift-ci please test

@MaxDesiatov
Copy link
Contributor

@swift-ci test windows

@MaxDesiatov MaxDesiatov added concurrency test suite improvements to SwiftPM test suite labels Nov 29, 2023
@MaxDesiatov MaxDesiatov enabled auto-merge (squash) November 29, 2023 17:19
@MaxDesiatov MaxDesiatov merged commit 1b49341 into main Nov 29, 2023
@MaxDesiatov MaxDesiatov deleted the async-PackageRegistryTests branch November 29, 2023 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
concurrency test suite improvements to SwiftPM test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants