Refactor remote command execution in vsperf 35/59335/7
authorMiikka Koistinen <miikka.koistinen@nokia.com>
Fri, 29 Jun 2018 13:31:31 +0000 (16:31 +0300)
committerMiikka Koistinen <miikka.koistinen@nokia.com>
Fri, 27 Jul 2018 09:34:18 +0000 (09:34 +0000)
commit155d28791fdde113b01e257a32d16e5bc42a1d2a
tree5fe2bf9eb5356e86524be7cc7291426b84d8e566
parent000cc9146035aceb0980ea0db0e6d4648cca1ad1
Refactor remote command execution in vsperf

* Remove unneeded variables
* Do not raise RuntimeError when a remote command fails, instead leave
  it for the yardstick ssh module to handle.
* Prevent CsvReader from raising StopIteration if csv output cannot be
  parsed. The SLA validation will take care of errors in that case.

JIRA: YARDSTICK-1166

Change-Id: I6cf550bd7bc8f511b3c0f25c67f8caab18bccd28
Signed-off-by: Miikka Koistinen <miikka.koistinen@nokia.com>
yardstick/benchmark/scenarios/networking/vsperf.py
yardstick/tests/unit/benchmark/scenarios/networking/test_vsperf.py