-
Notifications
You must be signed in to change notification settings - Fork 199
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
test: fix datastore integration tests #3317
Conversation
I ran the integration tests on this branch before opening the PR, so they're not visible from the PR itself. |
Codecov Report
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. @@ Coverage Diff @@
## main #3317 +/- ##
==========================================
- Coverage 64.49% 64.30% -0.20%
==========================================
Files 1075 1075
Lines 35891 35891
==========================================
- Hits 23148 23078 -70
- Misses 12743 12813 +70
Flags with carried forward coverage won't be shown. Click here to find out more. see 10 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Description
A few DataStore integration tests were consistently failing after moving away from
AsyncExpectation
/await wait(for:)
toXCTestExpectation
/await fulfillment(of:)
in #3305These failures were caused by double waits on a single expectation.
Another test was somewhat consistently failing due to a timeout. The test takes almost 10 seconds to run on my M1 Pro, so there's little chance it's going to make it before timing out in our CI.
General Checklist
Added new tests to cover change, if neededDocumentation update for the change if requiredNew or updated tests includeGiven When Then
inline code documentation and are named accordinglytestThing_condition_expectation()
If breaking change, documentation/changelog update with migration instructionsBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.