diff --git a/tests/clickhouse-test b/tests/clickhouse-test index 4581a2ca95b..45cde00037f 100755 --- a/tests/clickhouse-test +++ b/tests/clickhouse-test @@ -175,6 +175,8 @@ def run_single_test(args, ext, server_logs_level, client_options, case_file, std except OSError as e: if e.errno != ESRCH: raise + + total_time = (datetime.now() - start_time).total_seconds() return clickhouse_proc_create, "", "Timeout dropping database {} after test".format(database), total_time total_time = (datetime.now() - start_time).total_seconds()