[rally] Check output for splitting in safe way 53/24353/1
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Tue, 15 Nov 2016 13:38:08 +0000 (16:38 +0300)
committerMichael Polenchuk <mpolenchuk@mirantis.com>
Tue, 15 Nov 2016 13:41:00 +0000 (16:41 +0300)
Change-Id: If419a87057e15687088009968f5ec037fb051f95
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
testcases/OpenStack/rally/run_rally-cert.py

index 29fd0a3..bc80c0f 100755 (executable)
@@ -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)