]> git.cworth.org Git - notmuch/commitdiff
test: increase cffi timeout
authorMichael J Gruber <git@grubix.eu>
Sun, 14 Aug 2022 15:22:17 +0000 (17:22 +0200)
committerDavid Bremner <david@tethera.net>
Tue, 16 Aug 2022 07:29:39 +0000 (04:29 -0300)
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>
bindings/python-cffi/tests/conftest.py

index 6835fd30f723509cd6235540d35deadfc838cfa7..fe90c7879d8ad7ef0babb85386d7c87c2706a47c 100644 (file)
@@ -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