Skip to content

Commit

Permalink
fix(fxgcppubsub): Fixed nack reactor
Browse files Browse the repository at this point in the history
  • Loading branch information
ekkinox committed Jul 10, 2024
1 parent d58771f commit 858f4dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fxgcppubsub/reactor/ack/reactor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func TestAckReactor(t *testing.T) {
assert.NoError(t, rErr)
}()

data, err := waiter.WaitMaxDuration(context.Background(), 1*time.Millisecond)
data, err := waiter.WaitMaxDuration(context.Background(), 5*time.Millisecond)
assert.NoError(t, err)
assert.Equal(t, []string{"test-id"}, data)
})
Expand All @@ -83,7 +83,7 @@ func TestAckReactor(t *testing.T) {
assert.NoError(t, rErr)
}()

data, err := waiter.WaitMaxDuration(context.Background(), 1*time.Millisecond)
data, err := waiter.WaitMaxDuration(context.Background(), 5*time.Millisecond)
assert.NoError(t, err)
assert.Equal(t, []string{"test-id"}, data)
})
Expand Down

0 comments on commit 858f4dc

Please # to comment.