Fix kvstore-static_tests failing with OOM

Forked 3 threads plus misc, so minimum (4 * OS_STACK_SIZE) heap are required.
pull/11183/head
Chun-Chieh Li 2019-08-15 17:27:07 +08:00
parent a6c316afee
commit 500221c6a0
1 changed files with 2 additions and 1 deletions

View File

@ -34,7 +34,8 @@ static const size_t buffer_size = 20;
static const int num_of_threads = 3;
static const char num_of_keys = 3;
static const int heap_alloc_threshold_size = 4096;
/* Forked 3 threads plus misc, so minimum (4 * OS_STACK_SIZE) heap are required. */
static const int heap_alloc_threshold_size = 4 * OS_STACK_SIZE;
static const char *keys[] = {"key1", "key2", "key3"};