]> git.notmuchmail.org Git - notmuch/commit
tests: make timeout configurable with NOTMUCH_TEST_TIMEOUT (default: 2m)
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Mon, 20 May 2019 17:20:56 +0000 (13:20 -0400)
committerDavid Bremner <david@tethera.net>
Mon, 20 May 2019 17:48:43 +0000 (14:48 -0300)
commit73bf7e532e8388416981d9e2378d10ff04264097
treeff597f75f60f294d3de5fd73338f99b5acf59aad
parent9c0001de4bf3446a7cb8e6afc8dd3288be9169b7
tests: make timeout configurable with NOTMUCH_TEST_TIMEOUT (default: 2m)

The current 2 minute timeout is reasonable, but to exercise the test
suite or induce timeout failures, we might want to make it shorter.
This makes it configurable so you can run (for example):

    make check NOTMUCH_TEST_TIMEOUT=10s

We stick with the default of 2m.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
test/notmuch-test