delete useless stop_time initialization in run_rally-cert.py 21/17521/3
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Tue, 26 Jul 2016 01:17:50 +0000 (09:17 +0800)
committerJose Lausuch <jose.lausuch@ericsson.com>
Tue, 26 Jul 2016 21:27:32 +0000 (21:27 +0000)
stop_time is assigned twice, delete the first one

JIRA:FUNCTEST-384

Change-Id: I380113474e66a73c516f4411d8d7c5832e33921a
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
testcases/OpenStack/rally/run_rally-cert.py

index 9f7eecc..80c13a6 100755 (executable)
@@ -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):