X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=bindings%2Fpython-cffi%2Ftests%2Fconftest.py;h=fe90c7879d8ad7ef0babb85386d7c87c2706a47c;hb=760431c0a3216605d3690e963bb8fa3e3c8788cb;hp=de7db8e795d04cce1022a94722f7a66e250164fe;hpb=018ad3703ba46ea603854f51f8ff5ae86183cca0;p=notmuch diff --git a/bindings/python-cffi/tests/conftest.py b/bindings/python-cffi/tests/conftest.py index de7db8e7..fe90c787 100644 --- a/bindings/python-cffi/tests/conftest.py +++ b/bindings/python-cffi/tests/conftest.py @@ -31,7 +31,7 @@ def notmuch(maildir): fixture. """ def run(*args): - """Run a notmuch comand. + """Run a notmuch command. This function runs with a timeout error as many notmuch commands may block if multiple processes are trying to open @@ -43,7 +43,7 @@ def notmuch(maildir): env = os.environ.copy() env['NOTMUCH_CONFIG'] = str(cfg_fname) proc = subprocess.run(cmd, - timeout=5, + timeout=120, env=env) proc.check_returncode() return run