fixed global test-case
This commit is contained in:
parent
7db97fc31d
commit
ae716c0494
@ -54,6 +54,10 @@ func TestJobs(t *testing.T) {
|
||||
w.ErrorHandler = func(e error) {
|
||||
t.Error(e)
|
||||
}
|
||||
if err := w.Ready(); err != nil {
|
||||
t.Error(err)
|
||||
return
|
||||
}
|
||||
go w.Work()
|
||||
t.Log("Worker is running...")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user