summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorYang Yu <Gabriel.yuyang@huawei.com>2018-04-27 09:42:19 +0800
committerYang Yu <Gabriel.yuyang@huawei.com>2018-04-28 15:21:54 +0800
commit2833e627cbf31eb89f313ec167f215c48fa70217 (patch)
tree74f22082f887b634d836526848d86cce58f5deb6 /testsuites
parente493c4c97208c2b9348e4aec28ee3b650ef905af (diff)
Some informations are redundant
This patch is to remove the redundant results in Soak throughputs reports to TestDB Change-Id: Ib7e95df8353f3aa7b28187d352d5a6a213af2727 Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/posca/testcase_script/posca_factor_soak_throughputs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/posca/testcase_script/posca_factor_soak_throughputs.py b/testsuites/posca/testcase_script/posca_factor_soak_throughputs.py
index 2fd35006..6c6bd448 100644
--- a/testsuites/posca/testcase_script/posca_factor_soak_throughputs.py
+++ b/testsuites/posca/testcase_script/posca_factor_soak_throughputs.py
@@ -162,7 +162,7 @@ def run(test_config):
for wait_time in xrange(0, int(vim_pair_lazy_cre_delay)):
time.sleep(1)
while not q.empty():
- result.append(q.get())
+ result.append(q.get()[1])
for one_result in result:
if '0' == one_result[0]:
vim_pair_error = True
@@ -172,7 +172,7 @@ def run(test_config):
for one_thread in threadings:
one_thread.join()
while not q.empty():
- result.append(q.get())
+ result.append(q.get()[1])
for item in result:
vim_pair_success_num += int(item[0])