mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-08 13:28:13 +08:00
#40 qsize not implemented
This commit is contained in:
@@ -55,7 +55,8 @@ def test_cluster_initial(r):
|
||||
assert c.is_starting is False
|
||||
sleep(0.5)
|
||||
stat = c.stat
|
||||
assert stat.status == Conf.IDLE
|
||||
if Conf.QSIZE:
|
||||
assert stat.status == Conf.IDLE
|
||||
assert c.stop() is True
|
||||
assert c.sentinel.is_alive() is False
|
||||
assert c.has_stopped
|
||||
|
||||
Reference in New Issue
Block a user