From a23586542010e05ac88e6a1bc725165589df2898 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sat, 23 Apr 2022 15:50:33 +0800 Subject: [PATCH] test: update testing queue number --- nats_test.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nats_test.go b/nats_test.go index 0b0b7d4..c242dba 100644 --- a/nats_test.go +++ b/nats_test.go @@ -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()) }