Skip to content

Commit a235865

Browse files
committed
test: update testing queue number
1 parent b4e8cbd commit a235865

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

nats_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -367,11 +367,9 @@ func TestReQueueTaskInWorkerBeforeShutdown(t *testing.T) {
367367
WithQueue("test02"),
368368
)
369369

370-
assert.NoError(t, w.Queue(job))
371-
assert.NoError(t, w.Queue(job))
372370
assert.NoError(t, w.Queue(job))
373371
time.Sleep(500 * time.Millisecond)
374-
// see "re-queue the old job" message
372+
// see "re-queue the current task" message
375373
assert.NoError(t, w.Shutdown())
376374
}
377375

0 commit comments

Comments
 (0)