Skip to content

Commit

Permalink
Update pkg/transport/dispatcher/dispatcher_e2e_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
wdbaruni and coderabbitai[bot] authored Nov 26, 2024
1 parent c3d5c67 commit e2eeaf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/transport/dispatcher/dispatcher_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ func (s *DispatcherE2ETestSuite) storeEvents(count int) {
}

func (s *DispatcherE2ETestSuite) verifyMsg(msg *envelope.Message, i int) {
payload, ok := msg.GetPayload("")
payload, ok := msg.GetPayload("string")
s.Require().True(ok, "payload missing or not a string")
s.Contains(payload, fmt.Sprintf("event-%d", i))
s.Require().Equal(fmt.Sprintf("%d", i), msg.Metadata.Get(dispatcher.KeySeqNum))
Expand Down

0 comments on commit e2eeaf5

Please sign in to comment.