Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

One test is failing #50

Open
jason69 opened this issue Jan 18, 2019 · 0 comments
Open

One test is failing #50

jason69 opened this issue Jan 18, 2019 · 0 comments

Comments

@jason69
Copy link

jason69 commented Jan 18, 2019

Hi,

the test/database.php is failing because the worker has invalid configuration.

It is:

$worker = new DJWorker(array("count" => 5, "max_attempts" => 2, "sleep" => 10));

while it should be:

$worker = new DJWorker(array("count" => 6, "max_attempts" => 2, "sleep" => 10));

Indeed, you create 4 OK jobs + 1 Failing Job with 2 attempts. That is a total of 6 run.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant