Mike Perham
de616bb188
Update testing to support scheduled API changes, fixes #218
2012-06-03 11:03:22 -07:00
Pan Thomakos
82c43d2447
Renamed perform to drain to match Rails 4 API.
2012-05-02 10:59:31 -07:00
Pan Thomakos
b9bfc03c68
Add perform method to workers in tests.
...
The `#perform` method allows workers to be execute all their previously
queued jobs at once.
2012-05-02 10:45:05 -07:00
Pan Thomakos
c65d053808
Made sidekiq/testing work for the #enqueue method.
...
I also upgraded the testing tests so that they can be run in separate
`it` blocks. The trick is to use `load` instead of `require` which allows the
file to be re-executed.
2012-05-01 14:20:35 -07:00
jc00ke
22479118ec
Require sidekiq/rails for hook_rails! method
2012-04-27 22:27:02 -07:00
Mike Perham
d2263cbfe1
Add basic web testing, promote 'queues' set to core.
2012-03-10 13:07:19 -08:00
Mike Perham
0ced9e623e
Update delayed extensions to use perform_async so they are stubbed out by the testing infrastructure, fixes #77
2012-03-10 11:56:34 -08:00
Mike Perham
f9af66edd7
Rework redis connections so that the manager and
...
the client use separate pools.
This is so the Rails app Sidekiq::Client and
Sidekiq::Manager can use different configurations.
Also, fix issue where workers were not unregistered
in Redis upon shutdown.
2012-02-11 13:14:03 -08:00
Mike Perham
a8226227c4
Update testing infrastructure
2012-02-10 20:30:14 -08:00
Mike Perham
69b00cfe50
Minimize annoying warnings
2012-02-09 22:33:36 -08:00
Mike Perham
f89eedf326
Add new sidekiq/testing feature.
...
This makes job processing synchronous when required.
2012-02-09 21:46:44 -08:00