Skip to content

Conversation

@alxelax
Copy link
Contributor

@alxelax alxelax commented May 29, 2024

It is not correctly to call Zephyr API from bsim
HW models thread.
Commit moves friendship test suite semaphores
initialization into test bodies.

It is not correctly to call Zephyr API from bsim
HW thread.
Commit moves friendship test suite semaphores
initialization into test bodies.

Signed-off-by: Aleksandr Khromykh <aleksandr.khromykh@nordicsemi.no>
@alxelax
Copy link
Contributor Author

alxelax commented May 29, 2024

It is not correctly to call Zephyr API from bsim HW models thread initialization functionality
see comment: #73348 (comment)

@alxelax alxelax requested a review from aescolar May 29, 2024 12:19
@omkar3141
Copy link
Contributor

Where is the semaphore initialization here?

@alxelax
Copy link
Contributor Author

alxelax commented May 29, 2024

Where is the semaphore initialization here?

in test bodies in bt_mesh_test_friendship_init

Copy link
Member

@aescolar aescolar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@alxelax
Copy link
Contributor Author

alxelax commented Jun 3, 2024

Hi @PavelVPV, this requires your attention.

@carlescufi carlescufi merged commit 86b6800 into zephyrproject-rtos:main Jun 3, 2024
@alxelax alxelax deleted the move_semaphore_init_to_test_body branch June 3, 2024 10:05
kartben added a commit to kartben/zephyr that referenced this pull request Dec 4, 2025
Last activity: 18 months ago (pr)
Recent activities:
  - pr: Bluetooth: Mesh: Fix PB GATT adv name
    zephyrproject-rtos#73526
    (2024-05-30T13:56:48Z)
  - commit: Commit to zephyrproject-rtos/zephyr
    https://github.com/zephyrproject-rtos/zephyr (2024-05-30T07:00:00Z)
  - review: Review on 'tests: Bluetooth: Mesh: move semaphores out bsim
  initializations'
    zephyrproject-rtos#73464
    (2024-05-29T12:59:46Z)

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants