diff options
author | Yu Yang (Gabriel) <Gabriel.yuyang@huawei.com> | 2018-05-11 01:15:35 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-05-11 01:15:35 +0000 |
commit | d32712cf91fa7c14de8d6bd63bfc8e591ae114d6 (patch) | |
tree | 76db456c9515f5be9be918dbc2d4ae1957b57b76 | |
parent | 8d5e2fff2f9800942cf7f2c8a15b648ba3c76a16 (diff) | |
parent | 68b91c0679550efe005278f8689b57bf14092ee1 (diff) |
Merge "bug-fix: fix key error in soak throughputs CI"
-rw-r--r-- | testsuites/posca/testcase_script/posca_factor_soak_throughputs.py | 4 |
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 6c6bd448..2fd35006 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()[1]) + result.append(q.get()) 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()[1]) + result.append(q.get()) for item in result: vim_pair_success_num += int(item[0]) |