diff --git a/tests/controller/test_node.py b/tests/controller/test_node.py index 6421e727..dd51a6ac 100644 --- a/tests/controller/test_node.py +++ b/tests/controller/test_node.py @@ -195,7 +195,7 @@ def test_create(node, compute, project, async_run): "startup_script": "echo test", "name": "demo" } - compute.post.assert_called_with("/projects/{}/vpcs/nodes".format(node.project.id), data=data, timeout=120) + compute.post.assert_called_with("/projects/{}/vpcs/nodes".format(node.project.id), data=data, timeout=1200) assert node._console == 2048 assert node._properties == {"startup_script": "echo test"} @@ -244,7 +244,7 @@ def test_create_base_script(node, config, compute, tmpdir, async_run): "startup_script": "hostname test", "name": "demo" } - compute.post.assert_called_with("/projects/{}/vpcs/nodes".format(node.project.id), data=data, timeout=120) + compute.post.assert_called_with("/projects/{}/vpcs/nodes".format(node.project.id), data=data, timeout=1200) def test_symbol(node, symbols_dir): @@ -445,7 +445,7 @@ def test_create_without_console(node, compute, project, async_run): "startup_script": "echo test", "name": "demo" } - compute.post.assert_called_with("/projects/{}/vpcs/nodes".format(node.project.id), data=data, timeout=120) + compute.post.assert_called_with("/projects/{}/vpcs/nodes".format(node.project.id), data=data, timeout=1200) assert node._console == 2048 assert node._properties == {"test_value": "success", "startup_script": "echo test"} diff --git a/tests/controller/test_project.py b/tests/controller/test_project.py index 67a16971..af8b3079 100644 --- a/tests/controller/test_project.py +++ b/tests/controller/test_project.py @@ -153,7 +153,7 @@ def test_add_node_local(async_run, controller): data={'node_id': node.id, 'startup_script': 'test.cfg', 'name': 'test'}, - timeout=120) + timeout=1200) assert compute in project._project_created_on_compute controller.notification.emit.assert_any_call("node.created", node.__json__()) @@ -181,7 +181,7 @@ def test_add_node_non_local(async_run, controller): data={'node_id': node.id, 'startup_script': 'test.cfg', 'name': 'test'}, - timeout=120) + timeout=1200) assert compute in project._project_created_on_compute controller.notification.emit.assert_any_call("node.created", node.__json__()) @@ -222,7 +222,7 @@ def test_add_node_from_appliance(async_run, controller): 'name': 'Test-1', 'a': 1, }, - timeout=120) + timeout=1200) assert compute in project._project_created_on_compute controller.notification.emit.assert_any_call("node.created", node.__json__()) @@ -233,7 +233,7 @@ def test_add_node_from_appliance(async_run, controller): 'name': 'Test-2', 'a': 1 }, - timeout=120) + timeout=1200) def test_delete_node(async_run, controller):