summaryrefslogtreecommitdiffstats
path: root/testcases/OpenStack
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2016-11-15 16:38:08 +0300
committerMichael Polenchuk <mpolenchuk@mirantis.com>2016-11-15 16:41:00 +0300
commit4a40c2ecb7c675fed0d8d29ca4cbb608d6eb7bc8 (patch)
tree845e1ec42d4d470905ca5bc2f0669829108170de /testcases/OpenStack
parent2594c53d20340b220b483063a661a048b0a4ff55 (diff)
[rally] Check output for splitting in safe way
Change-Id: If419a87057e15687088009968f5ec037fb051f95 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'testcases/OpenStack')
-rwxr-xr-xtestcases/OpenStack/rally/run_rally-cert.py2
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)