Skip to content

Commit 411140d

Browse files
golowanowkartben
authored andcommitted
tests: kernel: mslab: extend k_mem_slab_alloc() timeout
Extend timeout on k_mem_slab_alloc() for kernel.memory_slabs memory_slab_1cpu.mslab test suite as a workaround to allow its run on slow platforms, e.g. simulated intel_ish_5_8_0. Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
1 parent 7b3d44e commit 411140d

File tree

1 file changed

+1
-1
lines changed
  • tests/kernel/mem_slab/mslab/src

1 file changed

+1
-1
lines changed

tests/kernel/mem_slab/mslab/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ ZTEST(memory_slab_1cpu, test_mslab)
247247

248248
TC_PRINT("%s: start to wait for block\n", __func__);
249249
k_sem_give(&SEM_REGRESSDONE); /* Allow helper thread to run part 4 */
250-
ret_value = k_mem_slab_alloc(&map_lgblks, &b, K_MSEC(50));
250+
ret_value = k_mem_slab_alloc(&map_lgblks, &b, K_MSEC(180));
251251
zassert_equal(0, ret_value,
252252
"Failed k_mem_slab_alloc, ret_value %d\n", ret_value);
253253

0 commit comments

Comments
 (0)