Commit Graph

13 Commits

Author SHA1 Message Date
Chris Boulton
e54c7ca99a only remove pid file during tests if exists 2012-04-19 22:39:55 +10:00
Chris Boulton
e6464f4c79 Require Redisent/Redis separately 2012-03-05 20:21:12 +11:00
Hélio Costa e Silva
016a7a13fd Added support of Redis prefix (namespaces) 2011-11-22 14:55:40 -02:00
Chris Boulton
700af834b4 Unit tests should not be directly accessing payload[args] now that we have getArguments() 2011-09-16 15:30:36 +10:00
chris.boulton
6f43fcfed8 Add a plugin/event/hook system 2011-03-27 18:42:46 +11:00
David Abdemoulaie
59e7b83892 Addresses warning that posix_kill takes long not string 2010-12-14 23:55:33 -06:00
David Abdemoulaie
2ae54583f0 Fixes unit test reliability
- redis-server is killed only from parent process, not from a worker
- sleeps for half a second after starting server
2010-12-14 23:35:18 -06:00
Chris Boulton
5f64653149 Change job classes to be instantiated rather than calling methods statically. This obviously makes it easier for state information to be destroyed after a job runs. This change is NOT backwards compatible and requests job classes be rewritten. Jobs also no longer receive arguments in the perform/setUp/tearDown methods but instead are passed as a $args variable to the instantiated job 2010-08-01 15:23:41 +10:00
Chris Boulton
6e6d7ad859 Add setUp and tearDown callbacks for jobs 2010-04-20 10:02:34 +10:00
Chris Boulton
b71031908d Fix typo in testWorkerCanUnregister test - redis should have been resque 2010-04-19 15:07:11 +10:00
Chris Boulton
3f04a0a971 Remove unnecessary call to worker->unregisterWorker in the JobTest teardown method 2010-04-19 15:01:47 +10:00
Chris Boulton
c5396f4e86 Change arguments for jobs to an array instead of an object. Also change other json encoded items to decode to an array rather than objects 2010-04-19 10:35:50 +10:00
Chris Boulton
cb4205d508 Initial commit 2010-04-18 23:58:43 +10:00