From 4a40c2ecb7c675fed0d8d29ca4cbb608d6eb7bc8 Mon Sep 17 00:00:00 2001 From: Michael Polenchuk Date: Tue, 15 Nov 2016 16:38:08 +0300 Subject: [rally] Check output for splitting in safe way Change-Id: If419a87057e15687088009968f5ec037fb051f95 Signed-off-by: Michael Polenchuk --- testcases/OpenStack/rally/run_rally-cert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testcases') 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) -- cgit 1.2.3-korg