Skip to content

Commit

Permalink
tests/kernel/sched/deadline: Disable CONFIG_BT
Browse files Browse the repository at this point in the history
The BT threads are interfering with the main thread priority selection
and the test fails semi-spuriously on NRF5x boards with "threads ran
too soon" (i.e. not an EDF failure per se, but the fact that the new
threads at K_LOWEST_APPLICATION_PRIO are running instead of the test
thread).  This is a reasonable workaround for testing the
SCHED_DEADLINE ordering behavior, though.

Fixes zephyrproject-rtos#9843

Signed-off-by: Andy Ross <[email protected]>
  • Loading branch information
Andy Ross authored and Josh0027 committed Sep 10, 2018
1 parent ab71deb commit fc7b9c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/kernel/sched/deadline/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ CONFIG_ZTEST=y
CONFIG_MP_NUM_CPUS=1
CONFIG_TEST_RANDOM_GENERATOR=y
CONFIG_SCHED_DEADLINE=y
CONFIG_BT=n

# Deadline is not compatible with MULTIQ, so we have to pick something
# specific instead of using the board-level default.
Expand Down

0 comments on commit fc7b9c1

Please sign in to comment.