mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +01:00
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>
This commit is contained in:
parent
cf21ad2e79
commit
760431c0a3
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ def notmuch(maildir):
|
||||||
env = os.environ.copy()
|
env = os.environ.copy()
|
||||||
env['NOTMUCH_CONFIG'] = str(cfg_fname)
|
env['NOTMUCH_CONFIG'] = str(cfg_fname)
|
||||||
proc = subprocess.run(cmd,
|
proc = subprocess.run(cmd,
|
||||||
timeout=5,
|
timeout=120,
|
||||||
env=env)
|
env=env)
|
||||||
proc.check_returncode()
|
proc.check_returncode()
|
||||||
return run
|
return run
|
||||||
|
|
Loading…
Reference in a new issue