Open
Description
Big maybe. I remember we did all of this mocking and Sidekiq driving for a reason, but it seems awfully complicated now. And resistant to change in Sidekiq itself.
One idea would be to introduce a 6th cron star alongside a secondly
method, and simply rely on sleep
in the tests, instead of all this UnitOfWork
and processor stuff. Obviously not "proper" way to do it, but I'd argue that in a test suite so small, it wouldn't hurt if it took 10 seconds instead of 1.
What do you think?