mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-06 17:48:12 +08:00
tests cluster stop when already stopped
This commit is contained in:
@@ -65,6 +65,7 @@ def test_cluster_initial(broker):
|
|||||||
assert c.stop() is True
|
assert c.stop() is True
|
||||||
assert c.sentinel.is_alive() is False
|
assert c.sentinel.is_alive() is False
|
||||||
assert c.has_stopped
|
assert c.has_stopped
|
||||||
|
assert c.stop() is False
|
||||||
broker.delete_queue()
|
broker.delete_queue()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user