Skip to content

Commit

Permalink
Adds max rss test
Browse files Browse the repository at this point in the history
  • Loading branch information
Koed00 committed Jul 8, 2020
1 parent 572f810 commit 0095a93
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions django_q/tests/test_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,7 @@ def test_max_rss(broker, monkeypatch):
async_task('django_q.tests.tasks.multiply', 2, 2, broker=broker)
task_queue = Queue()
result_queue = Queue()
# push two tasks
pusher(task_queue, stop_event, broker=broker)
# push the task
pusher(task_queue, stop_event, broker=broker)
# worker should exit on recycle
worker(task_queue, result_queue, Value('f', -1))
Expand Down

0 comments on commit 0095a93

Please sign in to comment.