Introduced timeout to post method of HttpClient 67/42967/2
authorMaciej Skrocki <maciej.skrocki@intel.com>
Tue, 19 Sep 2017 21:00:53 +0000 (14:00 -0700)
committerRoss Brattain <ross.b.brattain@intel.com>
Mon, 25 Sep 2017 15:30:20 +0000 (08:30 -0700)
commitbc0dd2e225f85c4a16629197c8e7a480a1134706
treee7e43208ab0c8f33903edb118f439c159c97bf7a
parent717999408252e973d3e288fb6aefd1b02e1c3f44
Introduced timeout to post method of HttpClient

We seen cases where grafana container bring-up code would fail,
because of too quick access to the http api. Added 10sec timeout
for the first query of the API.

Change-Id: Ifc95a626d0ab5552a1f26fb167fc3f65791392d7
Signed-off-by: Maciej Skrocki <maciej.skrocki@intel.com>
api/resources/v1/env.py
yardstick/common/httpClient.py