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) {
|
w.ErrorHandler = func(e error) {
|
||||||
t.Error(e)
|
t.Error(e)
|
||||||
}
|
}
|
||||||
|
if err := w.Ready(); err != nil {
|
||||||
|
t.Error(err)
|
||||||
|
return
|
||||||
|
}
|
||||||
go w.Work()
|
go w.Work()
|
||||||
t.Log("Worker is running...")
|
t.Log("Worker is running...")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user