Due to the constant alloc/free cycles during the stress test, it is possible that the heap can become fragmented enough to prevent successful allocation, and thus failing the test. So we change the CONFIG_SYS_HEAP_ALLOC_LOOPS to a higher value so the allocation code will try harder to find a space. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
8 lines
179 B
Plaintext
8 lines
179 B
Plaintext
CONFIG_ZTEST=y
|
|
CONFIG_TEST_USERSPACE=y
|
|
CONFIG_TIMESLICING=y
|
|
CONFIG_TIMESLICE_SIZE=20
|
|
CONFIG_APPLICATION_DEFINED_SYSCALL=y
|
|
CONFIG_MAX_THREAD_BYTES=5
|
|
CONFIG_SYS_HEAP_ALLOC_LOOPS=10
|