-
Notifications
You must be signed in to change notification settings - Fork 613
Fix personalization test and add check for optionalProvider. #2562
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
Conversation
Coverage ReportAffected SDKs
Test Logs
NotesHTML coverage reports can be produced locally with Head commit (1e52d552) is created by Prow via merging commits: 0a5b6ba c82ba25. |
Binary Size ReportAffected SDKsNo changes between base commit (0a5b6ba) and head commit (1e52d552). Test Logs
NotesHead commit (1e52d552) is created by Prow via merging commits: 0a5b6ba c82ba25. |
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.
I wonder if the perf test failure a flake or is caused by the change in RC
firebase-config/src/test/java/com/google/firebase/remoteconfig/FirebaseRemoteConfigTest.java
Show resolved
Hide resolved
/test check-changed |
1 similar comment
/test check-changed |
Flake |
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, but let's wait for @danasilver to review before merging.
SGTM |
The personalization test was using the default namespace, and because another instance of config already existed in that namespace, the test instance was not being created. This caused the personalization test to try to use real objects instead of the mocks, including the direct executor. This PR fixes this and uses a provider to fake the interaction when Analytics is present and when it's not.