Code Review
/
yardstick.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "subprocess.call para stdout=PIPE is risky"
[yardstick.git]
/
yardstick
/
benchmark
/
scenarios
/
networking
/
vtc_throughput.py
diff --git
a/yardstick/benchmark/scenarios/networking/vtc_throughput.py
b/yardstick/benchmark/scenarios/networking/vtc_throughput.py
index
fe7a884
..
ff20279
100644
(file)
--- a/
yardstick/benchmark/scenarios/networking/vtc_throughput.py
+++ b/
yardstick/benchmark/scenarios/networking/vtc_throughput.py
@@
-72,8
+72,9
@@
class VtcThroughput(base.Scenario):
test_case['params']['vlan_receiver'] = \
str(self.options['vlan_receiver'])
test_case['params']['vlan_receiver'] = \
str(self.options['vlan_receiver'])
+ res = dict()
try:
try:
- res
ult
= api.FrameworkApi.execute_framework(
+ res = api.FrameworkApi.execute_framework(
[test_case],
iterations,
heat_template,
[test_case],
iterations,
heat_template,
@@
-82,4
+83,5
@@
class VtcThroughput(base.Scenario):
openstack_credentials)
except Exception as e:
LOG.info('Exception: {}'.format(e.message))
openstack_credentials)
except Exception as e:
LOG.info('Exception: {}'.format(e.message))
- LOG.info('Got output: {}'.format(result))
+ LOG.info('Got output: {}'.format(res))
+ result.update(res)