Skip to content

Conversation

@stephencelis
Copy link
Member

Parallelized tests that all start sync engines can lead to database contention/locking, so let's require explicit await syncEngine.start() to force tests/suites to wait for the sync engine to finish starting before interacting with the database from feature code.

try T
await withErrorReporting(.sqliteDataCloudKitFailure) {
// NB: Fake 'sending' result.
nonisolated(unsafe) var result: T.QueryOutput?
Copy link
Member Author

Choose a reason for hiding this comment

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

We can remove this in the future if/when GRDB adopts sending.

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