Skip to content

Commit

Permalink
test: update testing queue number
Browse files Browse the repository at this point in the history
  • Loading branch information
appleboy committed Apr 23, 2022
1 parent b4e8cbd commit a235865
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions nats_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -367,11 +367,9 @@ func TestReQueueTaskInWorkerBeforeShutdown(t *testing.T) {
WithQueue("test02"),
)

assert.NoError(t, w.Queue(job))
assert.NoError(t, w.Queue(job))
assert.NoError(t, w.Queue(job))
time.Sleep(500 * time.Millisecond)
// see "re-queue the old job" message
// see "re-queue the current task" message
assert.NoError(t, w.Shutdown())
}

Expand Down

0 comments on commit a235865

Please sign in to comment.