Increase the timeout of diag snapshot generation
As we have recently added new files to diagnostic snapshots the snapshot generation procedure might time out on big environments. The commit increases the timeout for the diagnostic snapshot generation procedure from 10 to 30 minutes. It helps avoid growing amount of timed outs during snapshot compressing. Change-Id: Iab1347e1af68e5e67fca819ef00e7741df4cb2ae Closes-Bug: #1491356
This commit is contained in:
parent
b2ff35cf81
commit
c58f84c2c0
|
@ -319,7 +319,7 @@ def revert_info(snapshot_name, master_ip, description=""):
|
|||
|
||||
|
||||
def create_diagnostic_snapshot(env, status, name=""):
|
||||
task = env.fuel_web.task_wait(env.fuel_web.client.generate_logs(), 60 * 10)
|
||||
task = env.fuel_web.task_wait(env.fuel_web.client.generate_logs(), 60 * 30)
|
||||
assert_true(task['status'] == 'ready',
|
||||
"Generation of diagnostic snapshot failed: {}".format(task))
|
||||
url = "http://{}:8000{}".format(env.get_admin_node_ip(), task['message'])
|
||||
|
|
Loading…
Reference in New Issue