Skip to content

Commit

Permalink
Runner - Fix minimum timeout (#385)
Browse files Browse the repository at this point in the history
Fix minimum timeout: use 60s if config is shorter.
  • Loading branch information
abuccts authored Aug 8, 2022
1 parent 9b8df88 commit 9c29c93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superbench/runner/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9c29c93

Please sign in to comment.