diff options
author | 2016-05-11 10:28:18 +0300 | |
---|---|---|
committer | 2016-05-11 12:09:07 +0300 | |
commit | 31b76f41eb6566eb4bddf07fbfd5fb42fdf95594 (patch) | |
tree | 46318817f7ad6a1b3619d914d84ff8a5d0e171af /testcases/VIM/OpenStack/CI/libraries/run_tempest.py | |
parent | e98b6bfeece4b68b439b67b5f2e3ed5352595510 (diff) |
Split tempest into smoke and full modes
"tempest_smoke_serial" and "tempest_full_parallel" test cases
replace the original "tempest" case.
Corrected fetching tempest results from "rally verify list"
output (last result is taken instead of the first one). This
correction is needed when "rally verify start" is run multiple
times.
JIRA: FUNCTEST-242
Change-Id: I544a22081655af819dbaaaafc0ba0fa6eae1e4ea
Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
Diffstat (limited to 'testcases/VIM/OpenStack/CI/libraries/run_tempest.py')
-rw-r--r-- | testcases/VIM/OpenStack/CI/libraries/run_tempest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testcases/VIM/OpenStack/CI/libraries/run_tempest.py b/testcases/VIM/OpenStack/CI/libraries/run_tempest.py index 4c8e61a72..b042b49c3 100644 --- a/testcases/VIM/OpenStack/CI/libraries/run_tempest.py +++ b/testcases/VIM/OpenStack/CI/libraries/run_tempest.py @@ -260,7 +260,7 @@ def run_tempest(OPTION): cmd_line = "rally verify list" logger.debug('Executing command : {}'.format(cmd_line)) cmd = os.popen(cmd_line) - output = (((cmd.read()).splitlines()[3]).replace(" ", "")).split("|") + output = (((cmd.read()).splitlines()[-2]).replace(" ", "")).split("|") # Format: # | UUID | Deployment UUID | smoke | tests | failures | Created at | # Duration | Status | |