Increase timeout for getting diagnostic snapshot up to 10 min

5 min sometimes is not enough for preparing a diagnostic snapshot.

Change-Id: Ia0b6c647c57a26cce4dd0d58d14af1b547d48f79
Closes-Bug:#1410210
This commit is contained in:
Dennis Dmitriev 2015-07-27 19:23:18 +03:00
parent b782bb0b9d
commit 69d1790be1

View File

@ -340,7 +340,7 @@ def update_ostf(func):
def create_diagnostic_snapshot(env, status, name=""): def create_diagnostic_snapshot(env, status, name=""):
task = env.fuel_web.task_wait(env.fuel_web.client.generate_logs(), 60 * 5) task = env.fuel_web.task_wait(env.fuel_web.client.generate_logs(), 60 * 10)
url = "http://{}:8000{}".format( url = "http://{}:8000{}".format(
env.get_admin_node_ip(), task['message'] env.get_admin_node_ip(), task['message']
) )