Skip to content

Commit

Permalink
Fix flaky test
Browse files Browse the repository at this point in the history
Signed-off-by: Piotr Piotrowski <piotr@synadia.com>
  • Loading branch information
piotrpio committed May 23, 2023
1 parent 8bd1b9f commit 5625a7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .golangci.yaml
Expand Up @@ -7,4 +7,4 @@ issues:
text: "Unsubscribe"
- linters:
- errcheck
text: "msg.Ack"
text: "msg.Ack"
1 change: 1 addition & 0 deletions jetstream/test/pull_test.go
Expand Up @@ -229,6 +229,7 @@ func TestPullConsumerFetch(t *testing.T) {
if err != nil {
t.Fatalf("Unexpected error: %v", err)
}
time.Sleep(100 * time.Millisecond)
publishTestMsgs(t, nc)

msg := <-msgs.Messages()
Expand Down

0 comments on commit 5625a7f

Please sign in to comment.