fixed global test-case

This commit is contained in:
Xing Xing 2013-12-24 16:37:20 +08:00
parent 7db97fc31d
commit ae716c0494

View File

@ -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...")