Skip to content

Enable tests for query rejection. #3088

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
May 19, 2020
Merged

Conversation

dconeybe
Copy link
Contributor

The tests for queries where the promise was rejected were disabled because there was not a known way to create a query that was accepted by the client but rejected by the server. Recently, I discovered how to make just such a query: use a collection that is a sub-collection of a document with an invalid name. I have re-enabled these tests using this strategy. Thanks for @schmidt-sebastian for bringing these tests to my attention. (Google internal ticket for this issue: b/156772969).

@google-oss-bot
Copy link
Contributor

Binary Size Report

Affected SDKs

No changes between base commit (1325b58) and head commit (0004e8f).

Test Logs

@dconeybe dconeybe merged commit 8bccfa5 into master May 19, 2020
@dconeybe dconeybe deleted the dconeybe/EnableTestForQueryError branch May 19, 2020 19:20
@firebase firebase locked and limited conversation to collaborators Jun 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants