Skip to content

Commit

Permalink
Add an assert
Browse files Browse the repository at this point in the history
  • Loading branch information
m110 committed Aug 28, 2024
1 parent 07c306d commit 42b2e56
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/kafka/pubsub_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ func TestCtxValuesAfterRetry(t *testing.T) {
require.NoError(t, err)

receivedMessage, ok := readAfterRetries(messages, 1, time.Second)
assert.True(t, ok)

expectedPartitionsOffsets := map[int32]int64{}
partition, ok := kafka.MessagePartitionFromCtx(receivedMessage.Context())
Expand Down

0 comments on commit 42b2e56

Please sign in to comment.