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>
This commit is contained in:
parent
7b3d44e403
commit
411140d015
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ ZTEST(memory_slab_1cpu, test_mslab)
|
|||
|
||||
TC_PRINT("%s: start to wait for block\n", __func__);
|
||||
k_sem_give(&SEM_REGRESSDONE); /* Allow helper thread to run part 4 */
|
||||
ret_value = k_mem_slab_alloc(&map_lgblks, &b, K_MSEC(50));
|
||||
ret_value = k_mem_slab_alloc(&map_lgblks, &b, K_MSEC(180));
|
||||
zassert_equal(0, ret_value,
|
||||
"Failed k_mem_slab_alloc, ret_value %d\n", ret_value);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue