Use separate timeouts for connection and reading.
authorBenoit HERARD <benoit.herard@orange.com>
Wed, 16 Aug 2017 12:12:47 +0000 (14:12 +0200)
committerBenoit HERARD <benoit.herard@orange.com>
Wed, 16 Aug 2017 13:32:12 +0000 (15:32 +0200)
commit219391918bd42af63bc170712ba6268e7f009b76
treec1d2047a08e505da4abe9391fedfc9bb8ea6328b
parentfbdbdc076ba233e1add79a48616444116231ec4a
Use separate timeouts for connection and reading.

Use a short timeout for connection timeout to avoid to slow down testcase
when remote recording API is not available and use a longer one to read data
from API on successfull connections.

Change-Id: I743c02f890059bf55b47cb4240d52fe0741f7cae
Signed-off-by: Benoit HERARD <benoit.herard@orange.com>
functest/energy/energy.py