From 7bd6ab4a91d43d7cbf5d347c0c12e0e4f9f7e3bf Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Mon, 30 Jan 2017 14:19:52 +0100 Subject: tests: Reduce iterations / threads * tests/gpg/t-gpgconf.c (main): Reduce iterations to 10. * tests/gpg/t-thread-keylist-verify.c, tests/gpg/t-thread-keylist.c (THREAD_COUNT): Reduce to 10. -- While these tests tested for race conditions a smaller number of iteration should still show problems if they are run on multiple systems and regulary. While the 100 Thread count in the t-thread tests could lead to resource problems. --- tests/gpg/t-gpgconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/gpg/t-gpgconf.c') diff --git a/tests/gpg/t-gpgconf.c b/tests/gpg/t-gpgconf.c index 52f0f8b9..67bb8861 100644 --- a/tests/gpg/t-gpgconf.c +++ b/tests/gpg/t-gpgconf.c @@ -256,7 +256,7 @@ main (void) gpgme_conf_comp_t conf; gpgme_conf_comp_t comp; int first; - int i, N = 100; + int i, N = 10; init_gpgme (GPGME_PROTOCOL_GPGCONF); -- cgit v1.2.3