diff options
author | Emma Foley <emma.l.foley@intel.com> | 2018-06-26 09:38:34 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-06-26 09:38:34 +0000 |
commit | aafc77587072fa1a428d9c9cbec47a15e240a694 (patch) | |
tree | d49bc76f46803fa9f9fadcf32736441fbf59eacd /yardstick/benchmark/scenarios | |
parent | 4c4edf05781b0a7d7368cb29d27ae2e92230c194 (diff) | |
parent | 66c5efdd1705281abb57dcb14fff502ad125c0c1 (diff) |
Merge "Refactor remote command execution in pktgen_dpdk"
Diffstat (limited to 'yardstick/benchmark/scenarios')
-rw-r--r-- | yardstick/benchmark/scenarios/networking/pktgen_dpdk.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/yardstick/benchmark/scenarios/networking/pktgen_dpdk.py b/yardstick/benchmark/scenarios/networking/pktgen_dpdk.py index 1b018f52a..efb7d8b5d 100644 --- a/yardstick/benchmark/scenarios/networking/pktgen_dpdk.py +++ b/yardstick/benchmark/scenarios/networking/pktgen_dpdk.py @@ -113,10 +113,7 @@ cat ~/result.log -vT \ {print substr($0,RSTART,RLENGTH)}' \ |grep -v ^$ |awk '{if ($2 != 0) print $2}'\ """ - client_status, client_stdout, client_stderr = self.client.execute(cmd) - - if client_status: - raise RuntimeError(client_stderr) + _, client_stdout, _ = self.client.execute(cmd, raise_on_error=True) avg_latency = 0 if client_stdout: |