Commit Graph
161 Commits
Author SHA1 Message Date
ilan 79c4b5bb7e removing sqs tests 2017-04-05 13:43:10 +03:00
ilan f057ca94ca Skip SQS test for now 2017-04-05 13:31:30 +03:00
ilan 7c28b16adb Skip SQS test for now 2017-04-05 13:24:03 +03:00
ilan eae1bcf283 Checks if SQS is retrying in time 2017-04-05 13:12:17 +03:00
ilan 8c6058003f removes false assert for now 2017-04-05 13:03:55 +03:00
ilan 1983a523fc Pause on dequeue for sqs 2017-04-05 12:56:40 +03:00
Harm Geerts cf37efb1eb Replace global Conf mangling with monkeypatch
The test suite, especially for the brokers, was heavily dependant on the
success of the tests preceeding it to pass. This commit should eliminate
that dependency and allow tests to fail without affecting others.
It also removes the need to cleanup globals manually after a test.
2016-11-29 18:08:52 +01:00
Ilan Steemers c17468ef86 docs: Adds Custom broker class documentation
Also changes some of the variable and settings names, to make them less ambiguous.
2016-01-27 12:06:49 +01:00
Ilan Steemers b1b4a33c51 Fixes typo 2016-01-27 10:40:45 +01:00
Ilan Steemers d2d00e4f94 Adds test for custom broker configuration 2016-01-27 10:33:19 +01:00
Ilan Steemers 9741efdc5e Adds test for task result update 2016-01-24 21:30:42 +01:00
Ilan Steemers 8b27cdae17 Removes duplicate test 2016-01-09 13:42:13 +01:00
Ilan Steemers f160a68fbc Merge pull request #123 from Koed00/schedule
Adds a check for duplicate schedule names.
2016-01-07 19:59:46 +01:00
Ilan Steemers edb0ffbed3 Retry test is broken 2016-01-07 14:37:55 +01:00
Ilan Steemers 5791089497 Temporarily disabling annoying ironmq bug 2016-01-07 14:09:01 +01:00
Ilan Steemers 0879e4d128 Iron mq is being pendantic 2016-01-07 12:38:13 +01:00
Ilan Steemers d398685345 Adds a check for duplicate schedule names.
This should prevent the accidental repeated creation of schedules.
2015-11-19 17:57:31 +01:00
Ilan Steemers e736d79a57 Adds global override test to Async 2015-10-27 11:10:46 +01:00
Ilan Steemers 9dd79f6522 Adds test for new Async class 2015-10-26 19:35:38 +01:00
Ilan Steemers eb72eb33d9 Adds an Iter class
The Iter class serves as a convenience rwrapper around the `async_iter` function
2015-10-18 13:53:32 +02:00
Ilan Steemers 2df29b908c Adds tests for task chains
adds several small improvements based on the problems that surfaced during writing the tests
2015-10-17 18:49:45 +02:00
Ilan Steemers 2ba88f2d17 adds cached option to async_iter 2015-10-06 19:37:02 +02:00
Ilan Steemers edf188e7bc adds async iter tests 2015-10-04 11:52:43 +02:00
Ilan Steemers 0c2da87e27 adds async iter tests 2015-10-04 11:49:07 +02:00
Ilan Steemers 9243731a9c Updates test for new wait and count options 2015-10-02 20:03:38 +02:00
Ilan Steemers f6d14bc7b3 adds delete_cached 2015-10-01 19:25:43 +02:00
Ilan Steemers 6127b551ae fixes tests for cache with better coverage 2015-10-01 17:21:26 +02:00
Ilan Steemers 33282cb2e5 cached result backend
first version of a result backend using django's cache framework
2015-10-01 14:58:28 +02:00
Ilan Steemers 826178c463 Adds a MongoDB broker
* adds mongo broker tests
* adds mongo brokers docs

* broker info is now cached when it needs to connect to a server, to reduce traffic.
2015-09-25 20:03:39 +02:00
Ilan Steemers ef6a60478a Merge pull request #74 from Koed00/dev
Removes root imports for Django 1.9
2015-09-25 12:35:10 +02:00
Ilan Steemers b3381d6dae removes root imports for django 1.9
typo in test
2015-09-24 15:47:40 +02:00
Ilan Steemers cef48da789 removes root imports for django 1.9
Updated docs to promote submodule imports
2015-09-24 15:41:32 +02:00
Ilan Steemers 985fbb31cc tests cluster stop when already stopped 2015-09-24 11:21:28 +02:00
Ilan Steemers dc47ebef3c test for lock size in monitor 2015-09-19 17:25:02 +02:00
Ilan Steemers 7532cac93a test for lock_size in main class 2015-09-19 15:52:28 +02:00
Ilan Steemers 16c28a88e2 adds (approximate) lock_size to SQS broker
docs: added lock_size
2015-09-18 15:40:30 +02:00
Ilan Steemers a493f9cc78 Adds wait option to result() and fetch() 2015-09-18 10:57:09 +02:00
Ilan Steemers a6ad47b181 Adds lock count to monitor for orm broker 2015-09-17 18:55:29 +02:00
Ilan Steemers 1d12107524 Changed locking mechanism
* all new tasks start as timeouts. This makes the queries a lot simpler.

* In BULK mode, the bulk update for the lock was causing actual database locks.  The lock updates are now iterated.
2015-09-17 18:49:03 +02:00
Ilan Steemers 3ecd47fc7b tests orm queue admin overrides 2015-09-17 16:54:41 +02:00
Ilan Steemers 061775b3bb Adds group commands to task instances
* adds task.group_result()
* adds task.group_count()
* adds task.group_delete()
2015-09-16 15:47:39 +02:00
Ilan Steemers 1222285107 Adds --config option to qinfo command
Outputs current configuration constants
2015-09-15 21:39:38 +02:00
Ilan Steemers 548af6c4ad Tests no cache configuration 2015-09-15 20:29:09 +02:00
Ilan Steemers dbf0b20ba5 Fixes test for admin view 2015-09-15 17:14:08 +02:00
Ilan Steemers a060b3508a Moves bulk iteration to pusher 2015-09-15 14:45:06 +02:00
Ilan Steemers cefc7e0dc1 Adds test for orm queued task admin 2015-09-14 16:06:18 +02:00
Ilan Steemers 2bffcf554b Django ORM broker 2015-09-14 13:24:43 +02:00
Ilan Steemers 8543c5b328 Adds Fastack option to Disque broker 2015-09-11 17:58:16 +02:00
Ilan Steemers 3894019708 Disque now passes the double ack test 2015-09-11 15:36:46 +02:00
Ilan Steemers 4c413fc659 Prevents crash on duplicate acknowledge 2015-09-10 13:31:37 +02:00