Skip to content

Prevent Messaging and IID singleton usage during tests.#2250

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
Jan 28, 2019

Conversation

ryanwilson
Copy link
Member

No description provided.

Copy link
Contributor

@charlotteliangcharlotteliang left a comment

Choose a reason for hiding this comment

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

This means we can get rid of instanceIDForTest, right?

Copy link
Member

@paulb777paulb777 left a comment

Choose a reason for hiding this comment

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

Not until making similar changes in RemoteConfig and Analytics

@paulb777
Copy link
Member

cc: @htcgh


/// Starts fetching and configuration of InstanceID. This is necessary after the `initPrivately`
/// call.
- (void)start;
Copy link
Contributor

Choose a reason for hiding this comment

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

I will see if can put start inside initPrivately so most team can just call initPrivately only.

@charlotteliang
Copy link
Contributor

Yeah will do for both config and analytics

@ryanwilson
Copy link
MemberAuthor

Update: I plan on getting back to this this week, removing the messagingForTests ended up being a larger change than expected.

@ryanwilson
Copy link
MemberAuthor

Once Travis is green again this should be ready for re-review.

Copy link
Member

@paulb777paulb777 left a comment

Choose a reason for hiding this comment

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

LGTM

@ryanwilson
Copy link
MemberAuthor

@chliangGoogle just wanted to confirm, are you good with these changes going in now?

@charlotteliang
Copy link
Contributor

Yes! LGTM

@ryanwilsonryanwilson merged commit 5982981 into masterJan 28, 2019
@ryanwilsonryanwilson deleted the rw-messaging-iid-tests branch January 28, 2019 23:05
@paulb777paulb777 added this to the M43 milestone Feb 20, 2019
@firebasefirebase locked and limited conversation to collaborators Oct 23, 2019
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
4 participants
@ryanwilson@paulb777@charlotteliang@googlebot
close