mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-07 07:18:12 +08:00
use both pid and cluster_id
This commit is contained in:
@@ -345,7 +345,7 @@ def test_bad_secret(broker, monkeypatch):
|
||||
monkeypatch.setattr(Conf, "SECRET_KEY", "OOPS")
|
||||
stat = Stat.get_all()
|
||||
assert len(stat) == 0
|
||||
assert Stat.get(s.parent_pid) is None
|
||||
assert Stat.get(pid=s.parent_pid, cluster_id=cluster_id) is None
|
||||
task_queue = Queue()
|
||||
pusher(task_queue, stop_event, broker=broker)
|
||||
result_queue = Queue()
|
||||
|
||||
Reference in New Issue
Block a user