summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testcases/features/doctor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testcases/features/doctor.py b/testcases/features/doctor.py
index c7fc848c5..ca362ba67 100644
--- a/testcases/features/doctor.py
+++ b/testcases/features/doctor.py
@@ -39,7 +39,7 @@ def main():
ret = functest_utils.execute_command(cmd, logger, exit_on_error=False)
stop_time = time.time()
- duration = round(end_time_ts - start_time, 1)
+ duration = round(stop_time - start_time, 1)
if ret:
logger.info("doctor OK")
test_status = 'OK'