diff options
author | rexlee8776 <limingjiang@huawei.com> | 2018-01-27 06:15:51 +0000 |
---|---|---|
committer | Rex Lee <limingjiang@huawei.com> | 2018-03-01 02:21:44 +0000 |
commit | 53737485791aef59d6178170989b54fc7139437a (patch) | |
tree | aa328e7539d8a8601d695be6925d725aedbaae56 | |
parent | 9e2fafb8b86356d7c6719e593c0b086e065706c9 (diff) |
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 <limingjiang@huawei.com>
-rw-r--r-- | api/resources/v1/env.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |