mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-27 21:55:16 -04:00
precommit: Increase local timeout to 30 seconds
This commit is contained in:
parent
7c648bcc1f
commit
391ac323bf
1 changed files with 1 additions and 1 deletions
|
|
@ -303,7 +303,7 @@ def check_data_files() -> None:
|
|||
|
||||
|
||||
# ======================================================================================
|
||||
def run_local_tool(*cmd: str, timeout: int = 20) -> None:
|
||||
def run_local_tool(*cmd: str, timeout: int = 30) -> None:
|
||||
p = subprocess.run(cmd, timeout=timeout, stdout=PIPE, stderr=STDOUT)
|
||||
if p.returncode != 0:
|
||||
raise Exception(p.stdout.decode("utf8"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue