aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndre Heinecke <[email protected]>2016-11-10 17:32:26 +0000
committerAndre Heinecke <[email protected]>2016-11-10 17:35:09 +0000
commitddd0a3cf90ac4b0a27ea610ebd7b9b8016ff43c4 (patch)
treea83d1358a42aa75c80b9e8ef8a87fb6279636903 /tests
parentdoc: s/Multi Threading/Multi-Threading/ (diff)
downloadgpgme-ddd0a3cf90ac4b0a27ea610ebd7b9b8016ff43c4.tar.gz
gpgme-ddd0a3cf90ac4b0a27ea610ebd7b9b8016ff43c4.zip
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/gpg/t-thread-keylist-verify.c2
-rw-r--r--tests/gpg/t-thread-keylist.c2
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)