From b67e86163bc785b9186cf6ca6af3187726946eb1 Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Tue, 26 Jul 2016 09:17:50 +0800 Subject: delete useless stop_time initialization in run_rally-cert.py stop_time is assigned twice, delete the first one JIRA:FUNCTEST-384 Change-Id: I380113474e66a73c516f4411d8d7c5832e33921a Signed-off-by: SerenaFeng --- testcases/OpenStack/rally/run_rally-cert.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/testcases/OpenStack/rally/run_rally-cert.py b/testcases/OpenStack/rally/run_rally-cert.py index 9f7eecc7..80c13a6c 100755 --- a/testcases/OpenStack/rally/run_rally-cert.py +++ b/testcases/OpenStack/rally/run_rally-cert.py @@ -285,7 +285,6 @@ def run_task(test_name): global SUMMARY logger.info('Starting test scenario "{}" ...'.format(test_name)) start_time = time.time() - stop_time = start_time task_file = '{}task.yaml'.format(RALLY_DIR) if not os.path.exists(task_file): @@ -381,7 +380,6 @@ def main(): cinder_client = os_utils.get_cinder_client() start_time = time.time() - stop_time = start_time # configure script if not (args.test_name in tests): -- cgit 1.2.3-korg