Skip to content

Make drift tests stable #69

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 1 commit into from
Oct 17, 2024
Merged

Make drift tests stable #69

merged 1 commit into from
Oct 17, 2024

Conversation

rkistner
Copy link
Contributor

See example failure: https://github.com/powersync-ja/sqlite_async.dart/actions/runs/11387135276/job/31681006608

With update notifications potentially being duplicated between sqlite_async and drift (see here), the drift watch tests were a little unstable.

This fixes "distinct()" in the tests to consider duplicated or non-duplicated events as success.

@rkistner rkistner merged commit a804199 into main Oct 17, 2024
6 checks passed
@rkistner rkistner deleted the fix-drift-tests branch October 17, 2024 15:24
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.

2 participants