-
Notifications
You must be signed in to change notification settings - Fork 578
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
Remove some query restrictions and add integration tests #4231
Conversation
Coverage Report 1Affected Products
Test Logs |
Size Report 1Affected Products
Test Logs |
As expected, the newly added tests currently fail against prod |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have some tests to cover indexed queries as well?
3fa4785
to
9482fba
Compare
Generated by 🚫 Danger |
Do you mean the QueryTest integration test sets up an CSI similar to what's done in IndexingTest? FWIW, I've added the equivalent unit tests for CSI side here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Applying the "do not merge" label as relaxing these restrictions should not happen yet. |
firebase-firestore/src/androidTest/java/com/google/firebase/firestore/QueryTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last test in queriesInAndArrayContainsAnyArrayRules
needs to be removed
@wu-hui would you please review the last commit? |
Startup Time Report 1Note: Layout is sometimes suboptimal due to limited formatting support on GitHub. Please check this report on GCS. Notes
Startup Times
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
firebase-firestore/src/androidTest/java/com/google/firebase/firestore/ValidationTest.java
Outdated
Show resolved
Hide resolved
📝 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. Add the 'main-merge-ack' label to your PR to confirm merging into the main branch is intended. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR actually removes the restrictions and adds integration tests (which are expected to fail at this time).