Close project if one one the compute of the project is down

Fix #836
This commit is contained in:
Julien Duponchelle committed 2016-12-15 21:57:59 +01:00
1 parent 60eea1f171
commit 3259ec1220
6 files changed
+32 -13

No files matched your search

+1 -1
View File
@@ -366,7 +366,7 @@ def test_stop(node, compute, project, async_run):
compute.post = AsyncioMagicMock()
async_run(node.stop())
compute.post.assert_called_with("/projects/{}/vpcs/nodes/{}/stop".format(node.project.id, node.id), timeout=240)
compute.post.assert_called_with("/projects/{}/vpcs/nodes/{}/stop".format(node.project.id, node.id), timeout=240, dont_connect=True)
def test_suspend(node, compute, project, async_run):