zephyr/tests/kernel/mem_protect/syscalls/prj.conf
Daniel Leung 4655ae3a27 tests: userspace/mem_protect: more CONFIG_SYS_HEAP_ALLOC_LOOPS
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>
2025-04-29 19:04:23 +02:00

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