From 53737485791aef59d6178170989b54fc7139437a Mon Sep 17 00:00:00 2001 From: rexlee8776 Date: Sat, 27 Jan 2018 06:15:51 +0000 Subject: Bugfix: yardstick env grafana fails when access the server current timeout is 10 seconds, it would fail if grafana server start slow in some cases. JIRA: YARDSTICK-972 Change-Id: I783206fdd1352e94ba7e498283f70b5a6834b6fa Signed-off-by: rexlee8776 --- api/resources/v1/env.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/resources/v1/env.py b/api/resources/v1/env.py index 32a8c730b..75c981a96 100644 --- a/api/resources/v1/env.py +++ b/api/resources/v1/env.py @@ -119,7 +119,7 @@ class V1Env(ApiResource): "isDefault": True, } try: - HttpClient().post(url, data, timeout=10) + HttpClient().post(url, data, timeout=60) except Exception: LOG.exception('Create datasources failed') raise -- cgit 1.2.3-korg