From: SerenaFeng Date: Tue, 26 Jul 2016 01:17:50 +0000 (+0800) Subject: delete useless stop_time initialization in run_rally-cert.py X-Git-Tag: colorado.1.0~213 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=b67e86163bc785b9186cf6ca6af3187726946eb1;p=functest.git 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 --- diff --git a/testcases/OpenStack/rally/run_rally-cert.py b/testcases/OpenStack/rally/run_rally-cert.py index 9f7eecc79..80c13a6c9 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):