Skip to content
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

Fix duplication in FCM message.Added new integration test. #21

Merged
merged 25 commits into from
Apr 12, 2017

Conversation

marian-craciunescu
Copy link
Collaborator

PN-358

@cosminrentea
Copy link
Owner

build failed

@@ -48,7 +48,7 @@ func fcmMessage(message *protocol.Message) *gcm.Message {
"messageID": message.ID,
"correlation_id": message.CorrelationID(),
}).Error("Could not decode fcm.Message from guble message body")
} else if m.Notification != nil && m.Data != nil {
} else if m.Data != nil {
Copy link
Owner

Choose a reason for hiding this comment

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

cool

@cosminrentea
Copy link
Owner

triggered a rebuild

@@ -55,6 +55,10 @@ type expectedValues struct {

// Test that restarting the service continues to fetch messages from store for a subscription from lastID
func TestFCMRestart(t *testing.T) {

defer testutil.SkipIfDisabled(t)
defer testutil.SkipIfShort(t)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Remove this. Just disabled.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.07%) to 67.468% when pulling bffb850 on fix/set-last-id-failure into cc1fd39 on master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 67.364% when pulling a382f4f on fix/set-last-id-failure into cc1fd39 on master.

@marian-craciunescu marian-craciunescu merged commit 4c8e740 into master Apr 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants