mirror of
https://github.com/clearml/dropbear
synced 2025-02-24 12:54:12 +00:00
Add a default 10 second timeout for tests
This commit is contained in:
parent
3e640acd17
commit
e05945f67a
@ -49,6 +49,7 @@ def dbclient(request, *args, **kwargs):
|
||||
if bg:
|
||||
return subprocess.Popen(full_args, **kwargs)
|
||||
else:
|
||||
kwargs.setdefault("timeout", 10)
|
||||
# wait for response
|
||||
return subprocess.run(full_args, **kwargs)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user