# HG changeset patch # User Matt Johnston # Date 1634570432 -28800 # Node ID d757f48ae29f84dd8b964d2de32f0a7fae623313 # Parent 5c13e765ddbd2b19e25b564af7e56698814e71d0 Add a default 10 second timeout for tests diff -r 5c13e765ddbd -r d757f48ae29f test/test_dropbear.py --- a/test/test_dropbear.py Mon Oct 18 23:20:08 2021 +0800 +++ b/test/test_dropbear.py Mon Oct 18 23:20:32 2021 +0800 @@ -49,6 +49,7 @@ if bg: return subprocess.Popen(full_args, **kwargs) else: + kwargs.setdefault("timeout", 10) # wait for response return subprocess.run(full_args, **kwargs)