Unverified Commit 9c29c931 authored by Yifan Xiong's avatar Yifan Xiong Committed by GitHub
Browse files

Runner - Fix minimum timeout (#385)

Fix minimum timeout: use 60s if config is shorter.
parent 9b8df883
......@@ -389,7 +389,7 @@ def _run_proc(self, benchmark_name, mode, vars):
timeout = self._sb_benchmarks[benchmark_name].timeout
if isinstance(timeout, int):
timeout = min(timeout, 60)
timeout = max(timeout, 60)
env_list = '--env-file /tmp/sb.env'
if self._docker_config.skip:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment