diff options
author | Michael Polenchuk <mpolenchuk@mirantis.com> | 2016-11-15 16:38:08 +0300 |
---|---|---|
committer | Michael Polenchuk <mpolenchuk@mirantis.com> | 2016-11-15 16:41:00 +0300 |
commit | 4a40c2ecb7c675fed0d8d29ca4cbb608d6eb7bc8 (patch) | |
tree | 845e1ec42d4d470905ca5bc2f0669829108170de | |
parent | 2594c53d20340b220b483063a661a048b0a4ff55 (diff) |
[rally] Check output for splitting in safe way
Change-Id: If419a87057e15687088009968f5ec037fb051f95
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
-rwxr-xr-x | testcases/OpenStack/rally/run_rally-cert.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testcases/OpenStack/rally/run_rally-cert.py b/testcases/OpenStack/rally/run_rally-cert.py index 29fd0a334..bc80c0f36 100755 --- a/testcases/OpenStack/rally/run_rally-cert.py +++ b/testcases/OpenStack/rally/run_rally-cert.py @@ -239,7 +239,7 @@ def get_output(proc, test_name): except ValueError: logger.info('Percentage error: %s, %s' % (percentage, line)) nb_totals += 1 - elif "Full duration" in line: + elif "Full duration: " in line: duration = line.split(': ')[1] try: overall_duration += float(duration) |