[Pkg-gnupg-commit] [gpgme] 30/62: tests: Reduce thread count in new thread tests
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Sat Nov 19 04:03:34 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch experimental
in repository gpgme.
commit ddd0a3cf90ac4b0a27ea610ebd7b9b8016ff43c4
Author: Andre Heinecke <aheinecke at intevation.de>
Date: Thu Nov 10 18:32:26 2016 +0100
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 9f37857..6f747a6 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 6b9cee0..c03f1ca 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)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git
More information about the Pkg-gnupg-commit
mailing list