aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael J Gruber <git@grubix.eu>2022-08-14 17:22:17 +0200
committerDavid Bremner <david@tethera.net>2022-08-16 04:29:39 -0300
commit760431c0a3216605d3690e963bb8fa3e3c8788cb (patch)
treef50d20b5af3c4c5d47d2f9a59162dba2c0f89781
parentcf21ad2e790b2d078dd4b78f3c870b4f9107e451 (diff)
test: increase cffi timeout
By default, the test suite uses 2min for other tests and 5s for cffi tests. Sporadically, this leads to test failures caused by the timeout on slower or loaded test infrastructure (as seen on ppc64le in Fedora's infrastructure during branch time). Increase the cffi timeout to the same 2m=120s. Signed-off-by: Michael J Gruber <git@grubix.eu>
-rw-r--r--bindings/python-cffi/tests/conftest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/python-cffi/tests/conftest.py b/bindings/python-cffi/tests/conftest.py
index 6835fd30..fe90c787 100644
--- a/bindings/python-cffi/tests/conftest.py
+++ b/bindings/python-cffi/tests/conftest.py
@@ -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