Remove deployment task for python client test

The main goal of test is check if it possible to create env and execute task.
To achive this goal execute only node provisioning looks like enaugh.

Change-Id: I2697a63a688c7bcd82382fc747fe930e8ccd60fa
This commit is contained in:
Tatyana Leontovich 2016-02-26 20:13:42 +02:00
parent b09c989f00
commit dda2392de8
1 changed files with 2 additions and 12 deletions

View File

@ -108,8 +108,7 @@ class CreateDeployEnvironmentCli(test_cli_base.CommandLine):
7. Update SSL settings
8. List environments
9. Add and provision 1 node with controller role
10. Deploy node
11. Delete cluster
10. Delete cluster
Duration 20m
"""
@ -188,16 +187,7 @@ class CreateDeployEnvironmentCli(test_cli_base.CommandLine):
task = run_on_remote(remote, cmd, jsonify=True)
self.assert_cli_task_success(task, timeout=30 * 60)
# Deploy the controller node
self.show_step(10)
cmd = ('fuel --env-id={0} node --deploy --node {1} --json'
.format(cluster_id, node_id[0]))
task = run_on_remote(remote, cmd, jsonify=True)
self.assert_cli_task_success(task, timeout=60 * 60)
self.fuel_web.run_ostf(
cluster_id=cluster_id, test_sets=['sanity'])
self.show_step(11)
self.show_step(10)
with self.env.d_env.get_admin_remote() as remote:
res = remote.execute('fuel --env {0} env delete'
.format(cluster_id))