diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2016-08-29 21:24:52 +0200 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2016-08-30 09:05:45 +0000 |
commit | 5672607e5050c97eb619e92bc7fc830b7a70f313 (patch) | |
tree | c4446e9d207700e3efccdd205bd03196f846e066 /__init__.py | |
parent | 05961cc4f30fb8da620ed3c2e19797086f18ec25 (diff) |
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>
(cherry picked from commit c7edada4ccf84851b76b9ef738c270a7a6819a06)
Diffstat (limited to '__init__.py')
0 files changed, 0 insertions, 0 deletions