Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
Signed-off-by: Keran Yang <yangkr920208@gmail.com>
  • Loading branch information
KeranYang committed Sep 13, 2023
1 parent 89e4a62 commit a035c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/nats/nats_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func Test_Single(t *testing.T) {

// Prepare a channel to receive messages
messageCh := make(chan sourcesdk.Message, 10)
ns.Read(ctx, TestReadRequest{count: 3, timeout: time.Second}, messageCh)
ns.Read(ctx, TestReadRequest{count: 5, timeout: time.Second}, messageCh)
assert.NoError(t, err)
assert.Equal(t, 3, len(messageCh))
}
Expand Down

0 comments on commit a035c4b

Please sign in to comment.