Fix "Broken pipe" IOErrors of rally run 27/47527/3
authorJuha Kosonen <juha.kosonen@nokia.com>
Mon, 20 Nov 2017 17:56:28 +0000 (19:56 +0200)
committerJuha Kosonen <juha.kosonen@nokia.com>
Tue, 21 Nov 2017 14:19:51 +0000 (16:19 +0200)
commit8335acdf080e4d31fd1dd70f11aa456b4795833a
tree4dd59be324ff7d0b67fbb4fc6f018723d308edf9
parentf8460182ebb264212f395e873594f84d41963243
Fix "Broken pipe" IOErrors of rally run

Replace obsolete os.popen with subprocess module usage in command
output retrieval. Do not use shell as the program to execute.

Change-Id: Ic63bb0f393750c3b85a35a37fecd46c1c1b96602
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
functest/opnfv_tests/openstack/rally/rally.py
functest/tests/unit/openstack/rally/test_rally.py