Skip to content

Run IN query integration tests only when running against emulator #567

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 5 commits into from
Jun 25, 2019

Conversation

thebrianchen
Copy link

No description provided.

Map<String, Object> docD = map("zip", asList(98101));
Map<String, Object> docE = map("zip", asList("98101", map("zip", 98101)));
Map<String, Object> docF = map("zip", map("code", 500));
if (!isRunningAgainstEmulator()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know you looked into this - but what is your reason for not using assumeTrue()?

https://reflectoring.io/conditional-junit4-junit5-tests/

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason I had was that assumeTrue() wasn't used anywhere else in the codebase, but I guess that's not a valid reason to avoid using it.

@thebrianchen thebrianchen merged commit 8e480e3 into master Jun 25, 2019
@rlazo rlazo deleted the bc/run-against branch September 27, 2019 14:53
@firebase firebase locked and limited conversation to collaborators Oct 9, 2019
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.

4 participants