Skip to content

tests: bluetooth: host: Fix CI failures with bt_keys_get_addr() UT#51293

Merged
carlescufi merged 1 commit intozephyrproject-rtos:mainfrom
ahmedmoheb-nordic:fix_ci_failures_with_bt_keys_get_addr_unit_test
Oct 14, 2022
Merged

tests: bluetooth: host: Fix CI failures with bt_keys_get_addr() UT#51293
carlescufi merged 1 commit intozephyrproject-rtos:mainfrom
ahmedmoheb-nordic:fix_ci_failures_with_bt_keys_get_addr_unit_test

Conversation

@ahmedmoheb-nordic
Copy link
Contributor

CI tests were failing due to a recent change to zassume_true() implementation.
While the test case is still skipped when assumption fails, but it is now causing the final execution result to fail.

zassume_true() was replaced by ztest_test_skip() combined with a conditional 'if' statement to get the required effect.

Signed-off-by: Ahmed Moheb ahmed.moheb@nordicsemi.no

CI tests were failing due to a recent change to zassume_true()
implementation.
While the test case is still skipped when assumption fails, but it is
now causing the final execution result to fail.

zassume_true() was replaced by ztest_test_skip() combined with
a conditional 'if' statement to get the required effect.

Signed-off-by: Ahmed Moheb <ahmed.moheb@nordicsemi.no>
@jori-nordic
Copy link
Contributor

jori-nordic commented Oct 14, 2022

@sem1-nordic @ppryga-nordic fyi

@carlescufi carlescufi merged commit 7ef0575 into zephyrproject-rtos:main Oct 14, 2022
@ahmedmoheb-nordic ahmedmoheb-nordic deleted the fix_ci_failures_with_bt_keys_get_addr_unit_test branch October 14, 2022 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment