Skip to content

Commit

Permalink
added correlation id for test on fcmREstart
Browse files Browse the repository at this point in the history
  • Loading branch information
Marian Craciunescu committed Mar 22, 2017
1 parent 5515665 commit edb84a2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions server/fcm_integration_test.go
Expand Up @@ -54,7 +54,6 @@ 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.EnableDebugForMethod()()
//TODO BOGDAN COSMIN MARIAN modify the test to not use websocket client.
defer testutil.SkipIfDisabled(t)
defer testutil.SkipIfShort(t)
Expand Down Expand Up @@ -92,7 +91,7 @@ func TestFCMRestart(t *testing.T) {

// send 3 messages in the router but read only one and close the service
for i := 0; i < 3; i++ {
c.Send(testTopic, "dummy body", "{dummy: value}")
c.Send(testTopic, "dummy body", `{"Correlation-Id": "id"}`)
}

// receive one message only from FCM
Expand Down

0 comments on commit edb84a2

Please sign in to comment.