Skip to content

Commit 1bbd2ae

Browse files
committed
[nrf fromlist] tests: kernel: sched: increase test stack for thread objects
On nrf52dk/nrf52832, test_slice_reset overflows its Ztest thread. The test keeps three struct k_thread objects on that stack while creating and scheduling worker threads. Use a 2048-byte stack for kernel.scheduler.slice_perthread. Signed-off-by: Jakub Zymelka <jakub.zymelka@nordicsemi.no> Upstream PR #: 119471
1 parent 14a637f commit 1bbd2ae

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tests/kernel/sched/schedule_api/tests.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ tests:
2121
extra_configs:
2222
- CONFIG_TIMESLICING=y
2323
- CONFIG_TIMESLICE_PER_THREAD=y
24+
- CONFIG_ZTEST_STACK_SIZE=2048
2425
kernel.scheduler.multiq:
2526
extra_args: CONF_FILE=prj_multiq.conf
2627
extra_configs:

0 commit comments

Comments
 (0)