aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/benchmark/scenarios/availability/util.py
diff options
context:
space:
mode:
authortjuyinkanglin <14_ykl@tongji.edu.cn>2017-08-09 23:06:56 +0800
committertjuyinkanglin <14_ykl@tongji.edu.cn>2017-08-23 12:35:28 +0800
commitf71c4a0694365b846146f2957c26c4f071413ace (patch)
tree5fb540a2b15da11f82c14f4a901e5c7fbd0219b9 /yardstick/benchmark/scenarios/availability/util.py
parentb39fe5457e846e734e980666bc209fb7c07a6bdc (diff)
Add test case file, document and related scripts of yardstick
tc057(HA_TC014) JIRA: YARDSTICK-779 Change-Id: I6a812b1c88229b20a0dd0ce5bc135c9ba15266db Signed-off-by: tjuyinkanglin <14_ykl@tongji.edu.cn>
Diffstat (limited to 'yardstick/benchmark/scenarios/availability/util.py')
-rw-r--r--yardstick/benchmark/scenarios/availability/util.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/yardstick/benchmark/scenarios/availability/util.py b/yardstick/benchmark/scenarios/availability/util.py
index 6fef622bd..d288fcbc1 100644
--- a/yardstick/benchmark/scenarios/availability/util.py
+++ b/yardstick/benchmark/scenarios/availability/util.py
@@ -51,6 +51,8 @@ def build_shell_command(param_config, remote=True, intermediate_variables=None):
def read_stdout_item(stdout, key):
+ if key == "all":
+ return stdout
for item in stdout.splitlines():
if key in item:
attributes = item.split("|")