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").

(cherry picked from commit fdf0ec2)

Original-Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
GitOrigin-RevId: fdf0ec2
Cr-Build-Id: 8727268707664402833
Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8727268707664402833
Copybot-Job-Name: zephyr-main-copybot-downstream
Change-Id: Ic6454ec590cb8bde01196f395d7881b32a6d4b4c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/6130024
Commit-Queue: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
Bot-Commit: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
  • Loading branch information
Vinayak Kariappa Chettimada authored and Chromeos LUCI committed Dec 29, 2024
1 parent 48a0760 commit 5c04410
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 5c04410

Please sign in to comment.