diff options
author | Andre Heinecke <[email protected]> | 2017-01-30 13:19:52 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2017-01-30 13:19:52 +0000 |
commit | 7bd6ab4a91d43d7cbf5d347c0c12e0e4f9f7e3bf (patch) | |
tree | 8ee66241a52a71be1d29813a67fa3bd4c6a9be26 /tests/gpg/t-thread-keylist.c | |
parent | python: Ensure quick-random is used if gpg is gpg2 (diff) | |
download | gpgme-7bd6ab4a91d43d7cbf5d347c0c12e0e4f9f7e3bf.tar.gz gpgme-7bd6ab4a91d43d7cbf5d347c0c12e0e4f9f7e3bf.zip |
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.
Diffstat (limited to 'tests/gpg/t-thread-keylist.c')
-rw-r--r-- | tests/gpg/t-thread-keylist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gpg/t-thread-keylist.c b/tests/gpg/t-thread-keylist.c index c03f1caf..b9feeda2 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 100 +#define THREAD_COUNT 10 void * start_keylist (void *arg) |