Skip to content

Commit

Permalink
tests: Bluetooth: BAP: Fix test wrt stream args to broadcast_source
Browse files Browse the repository at this point in the history
Due to adding subgroup count and streams per subgroup
arguments to the broadcast_source test, fix the sink
test that was not ported due to being merged for change
in a different PR.

Relates to commit 01e8d0e ("tests: Bluetooth: BAP:
Add subgroup and stream args to broadcast_source").

Fixes commit 303d0b7 ("tests: Bluetooth: BAP: Add
test to test invalid bcode").

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
  • Loading branch information
cvinayak authored and fabiobaltieri committed Dec 28, 2024
1 parent 4966d62 commit fdf0ec2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/bsim/bluetooth/audio/src/bap_broadcast_sink_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -1088,8 +1088,8 @@ static void test_sink_encrypted_incorrect_code(void)
test_broadcast_sync(BROADCAST_CODE);

/* Wait for all to be started */
printk("Waiting for streams to be started\n");
for (size_t i = 0U; i < ARRAY_SIZE(streams); i++) {
printk("Waiting for %zu streams to be started\n", stream_sync_cnt);
for (size_t i = 0U; i < stream_sync_cnt; i++) {
k_sem_take(&sem_stream_started, K_FOREVER);
}

Expand Down

0 comments on commit fdf0ec2

Please sign in to comment.