Flush stdout as it can be redirected to log 93/19793/3
authorCédric Ollivier <cedric.ollivier@orange.com>
Mon, 29 Aug 2016 19:24:52 +0000 (21:24 +0200)
committerJose Lausuch <jose.lausuch@ericsson.com>
Tue, 30 Aug 2016 07:40:41 +0000 (07:40 +0000)
commitc7edada4ccf84851b76b9ef738c270a7a6819a06
tree5b7721dd43161b6f9570a63d217068cd1db3abd0
parentc1c666b957bd235fd86fbbac2fea4d541983c44d
Flush stdout as it can be redirected to log

It avoids mixed logs in Jenkins' console by flushing every message
printed by the forked programs as logger.info() does.
It must be complete by refactoring logger management in util functions
[1] and by preventing output buffering in forked programs.

[1] https://jira.opnfv.org/browse/FUNCTEST-428

JIRA: FUNCTEST-441

Change-Id: Id8da814d79ea6b1e6b91b49e23a85c3802e11515
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
utils/functest_utils.py