Iskandar Najmuddin
ad33efbc67
Improve Resque_Redis DSN parsing.
...
- Allow for DSN URIs to work as expected.
- Backward-compatible with simple 'host:port' format.
- Does not parse DSNs provided in array format for Credis_Cluster.
2014-05-05 13:02:16 +00:00
Rockstar04
726e58a297
Added basic logging class for a fallback
...
Corrected unit tests for new code
Add partial unit coverage for logging class
Add newline to logTest file
2013-06-25 12:01:50 -07:00
Ruud Kamphuis
f379d3a36d
Fixed unit test
2013-05-29 09:17:06 +02:00
Ruud Kamphuis
86ae77811d
Working blocking list pop :)
2013-05-29 09:17:06 +02:00
Ruud Kamphuis
e541fa9b70
Added test for blpop
2013-05-29 09:14:17 +02:00
Chris Boulton
b31830c0bf
when testing job recreation, compare the results of ->getArguments()
2013-05-12 15:40:35 +10:00
Chris Boulton
2ba15eb555
replace Redisent with Credis (also adds native phpredis support)
2013-01-12 23:37:38 +11:00
Chris Boulton
8d6da21473
restructure tests, use composer to autoload test requirements
2013-01-12 22:01:13 +11:00
Chris Boulton
c908109a74
Remove silly copyright line in docblock comments, update email address, remove copyright year because it is boring to maintain
2012-10-13 17:55:41 +11:00
Chris Boulton
3188265655
Merge pull request #52 from ebernhardson/fix-stopListening
...
Resque_Event::stopListening does not remove the listener
2012-05-03 21:00:18 -07:00
Chris Boulton
e54c7ca99a
only remove pid file during tests if exists
2012-04-19 22:39:55 +10:00
ebernhardson
010384b296
unit test to verify fix of Resque_Event::stopListening
2012-04-04 18:27:08 -07: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