Fix local variable in clickhouse-test

This commit is contained in:
alesapin 2020-12-17 23:13:49 +03:00
parent b9c537ac37
commit 30c98adde4

View File

@ -175,6 +175,8 @@ def run_single_test(args, ext, server_logs_level, client_options, case_file, std
except OSError as e: except OSError as e:
if e.errno != ESRCH: if e.errno != ESRCH:
raise raise
total_time = (datetime.now() - start_time).total_seconds()
return clickhouse_proc_create, "", "Timeout dropping database {} after test".format(database), total_time return clickhouse_proc_create, "", "Timeout dropping database {} after test".format(database), total_time
total_time = (datetime.now() - start_time).total_seconds() total_time = (datetime.now() - start_time).total_seconds()