This commit is contained in:
alesapin 2021-10-27 10:24:44 +03:00
parent 9d087ae1c2
commit f52ae7f678

View File

@ -171,7 +171,7 @@ def get_run_command(builds_path, result_path, server_log_path, kill_timeout, add
additional_options.append('--print-time')
additional_options_str = '-e ADDITIONAL_OPTIONS="' + ' '.join(additional_options) + '"'
envs = ['-e MAX_RUN_TIME={int(0.9 * kill_timeout)}']
envs = [f'-e MAX_RUN_TIME={int(0.9 * kill_timeout)}']
envs += [f'-e {e}' for e in additional_envs]
env_str = ' '.join(envs)