Skip to content

Commit 2caf268

Browse files
authored
test: empty worker. (#2)
1 parent 349aacf commit 2caf268

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

queue_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ func TestNewQueue(t *testing.T) {
2626
)
2727
assert.NoError(t, err)
2828
assert.NotNil(t, q)
29+
30+
q.Start()
31+
q.Shutdown()
32+
q.Wait()
2933
}
3034

3135
func TestWorkerNum(t *testing.T) {

0 commit comments

Comments
 (0)