-
Notifications
You must be signed in to change notification settings - Fork 597
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
Improve the integration test coverage for online vs offline comparisons. #6841
base: main
Are you sure you want to change the base?
Conversation
📝 PRs merging into main branchOur main branch should always be in a releasable state. If you are working on a larger change, or if you don't want this change to see the light of the day just yet, consider using a feature branch first, and only merge into the main branch when the code complete and ready to be released. |
Generated by 🚫 Danger |
Coverage Report 1Affected Products
Test Logs |
Test Results 186 files + 120 186 suites +120 4m 26s ⏱️ + 3m 8s Results for commit 8567041. ± Comparison against base commit 8af38c9. This pull request removes 552 and adds 1235 tests. Note that renamed tests count towards both.
This pull request removes 1 skipped test and adds 16 skipped tests. Note that renamed tests count towards both.
|
Size Report 1Affected ProductsNo changes between base commit (8af38c9) and merge commit (e53d241).Test Logs |
Startup Time Report 1Note: Layout is sometimes suboptimal due to limited formatting support on GitHub. Please check this report on GCS. Notes
Startup Times
|
This PR improves the way
checkOnlineAndOfflineResultsMatch
test util function was written.It does so by first pre-populating the cache with the entire collection, then performing the query from cache (this results in a full collection scan), then performing the query from the server, and then performing the query from cache again (this results in using
performQueryUsingRemoteKeys
. It then ensures that all of these 3 results are the same and equal to the expected results.#no-changelog