diff options
author | Christian Breunig <christian@breunig.cc> | 2024-01-07 21:59:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-07 21:59:37 +0100 |
commit | 44c190dd44f82dad5678a5b4220bb9551b570e2d (patch) | |
tree | be21d114480138a51719d3d33e778814838fe826 /python | |
parent | 3ee63a4f4cbc17da1e0e8bce5ea36af0c4a0928b (diff) | |
parent | 041db49533d57cabfccd319492b85ee0bafdd40c (diff) | |
download | vyos-1x-44c190dd44f82dad5678a5b4220bb9551b570e2d.tar.gz vyos-1x-44c190dd44f82dad5678a5b4220bb9551b570e2d.zip |
Merge pull request #2769 from c-po/T5195-penalty
smoketest: T5195: fix BasicInterfaceTest tearDown() timeout penalty
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/utils/process.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/utils/process.py b/python/vyos/utils/process.py index cd58b4be2..bd0644bc0 100644 --- a/python/vyos/utils/process.py +++ b/python/vyos/utils/process.py @@ -204,7 +204,7 @@ def process_running(pid_file): pid = f.read().strip() return pid_exists(int(pid)) -def process_named_running(name, cmdline: str=None, timeout=0): +def process_named_running(name: str, cmdline: str=None, timeout: int=0): """ Checks if process with given name is running and returns its PID. If Process is not running, return None """ |