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.
This commit is contained in:
parent
f3ca2c9ce9
commit
7bd6ab4a91
@ -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);
|
||||
|
||||
|
@ -32,7 +32,7 @@
|
||||
|
||||
#include "t-support.h"
|
||||
|
||||
#define THREAD_COUNT 100
|
||||
#define THREAD_COUNT 10
|
||||
|
||||
static const char test_text1[] = "Just GNU it!\n";
|
||||
static const char test_sig1[] =
|
||||
|
@ -32,7 +32,7 @@
|
||||
|
||||
#include "t-support.h"
|
||||
|
||||
#define THREAD_COUNT 100
|
||||
#define THREAD_COUNT 10
|
||||
|
||||
void *
|
||||
start_keylist (void *arg)
|
||||
|
Loading…
Reference in New Issue
Block a user