Merge pull request #11183 from OpenNuvoton/nuvoton_m252kg_test

M252KG: Fix kvstore-static_tests failing with OOM
pull/11264/head
Martin Kojtal 2019-08-20 09:49:58 +02:00 committed by GitHub
commit 5904614696
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"};