From ddd0a3cf90ac4b0a27ea610ebd7b9b8016ff43c4 Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Thu, 10 Nov 2016 18:32:26 +0100 Subject: [PATCH] tests: Reduce thread count in new thread tests * gpg/t-thread-keylist-verify.c, gpg/t-thread-keylist.c: Reduce threads to 100 -- Due to the limit of FD_SETSIZE the number of parallel threads is limited. So some systems run into this problem when running the testsuite. --- tests/gpg/t-thread-keylist-verify.c | 2 +- tests/gpg/t-thread-keylist.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/gpg/t-thread-keylist-verify.c b/tests/gpg/t-thread-keylist-verify.c index 9f37857d..6f747a6f 100644 --- a/tests/gpg/t-thread-keylist-verify.c +++ b/tests/gpg/t-thread-keylist-verify.c @@ -32,7 +32,7 @@ #include "t-support.h" -#define THREAD_COUNT 500 +#define THREAD_COUNT 100 static const char test_text1[] = "Just GNU it!\n"; static const char test_sig1[] = diff --git a/tests/gpg/t-thread-keylist.c b/tests/gpg/t-thread-keylist.c index 6b9cee08..c03f1caf 100644 --- a/tests/gpg/t-thread-keylist.c +++ b/tests/gpg/t-thread-keylist.c @@ -32,7 +32,7 @@ #include "t-support.h" -#define THREAD_COUNT 500 +#define THREAD_COUNT 100 void * start_keylist (void *arg)