Tests marked as slow (e.g. tests/kernel/timer/starve) should be skipped by default and only executed when --enable-slow is passed. This works as should without enabling xdist workers. However, when -n (xdist) is used, the "slow" test are executed.
To reproduce:
pytest tests/kernel/timer/starve/ --zephyr-base=$ZEPHYR_BASE --platform=qemu_cortex_m3 -v -- correct: test is deselected
pytest tests/kernel/timer/starve/ --zephyr-base=$ZEPHYR_BASE --platform=qemu_cortex_m3 -v -n auto -- wrong: test is executed
Tests marked as slow (e.g. tests/kernel/timer/starve) should be skipped by default and only executed when --enable-slow is passed. This works as should without enabling xdist workers. However, when -n (xdist) is used, the "slow" test are executed. To reproduce:
pytest tests/kernel/timer/starve/ --zephyr-base=$ZEPHYR_BASE --platform=qemu_cortex_m3 -v
-- correct: test is deselectedpytest tests/kernel/timer/starve/ --zephyr-base=$ZEPHYR_BASE --platform=qemu_cortex_m3 -v -n auto
-- wrong: test is executed