This repository was archived by the owner on Nov 5, 2025. It is now read-only.

Description
I'm using this driver for my tests only as a way of simulating background processing without actually having to run a queue just for tests. It's much better than the sync driver since it ensures that my test passing isn't strictly dependent on sequential execution, but every item I push in a test spawns a new process:
php artisan queue:async <number> --env=testing --delay=<some delay>.
It looks like these never exit, even on job completion or exit so I eventually run out of memory and start paging. Even when phpunit complete there are still lots of them left.
I'd love to be able to keep using this driver, but at the moment the only way I can get passable execution time on my test suite is by restarting my development VM after each test run. Any suggestions?