mirror of
https://github.com/clearml/dropbear
synced 2025-02-24 21:03:55 +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:
|
if bg:
|
||||||
return subprocess.Popen(full_args, **kwargs)
|
return subprocess.Popen(full_args, **kwargs)
|
||||||
else:
|
else:
|
||||||
|
kwargs.setdefault("timeout", 10)
|
||||||
# wait for response
|
# wait for response
|
||||||
return subprocess.run(full_args, **kwargs)
|
return subprocess.run(full_args, **kwargs)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user