Skip to content

Commit fdf0ec2

Browse files
cvinayakfabiobaltieri
authored andcommitted
tests: Bluetooth: BAP: Fix test wrt stream args to broadcast_source
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 <[email protected]>
1 parent 4966d62 commit fdf0ec2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/bsim/bluetooth/audio/src/bap_broadcast_sink_test.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1088,8 +1088,8 @@ static void test_sink_encrypted_incorrect_code(void)
10881088
test_broadcast_sync(BROADCAST_CODE);
10891089

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

0 commit comments

Comments
 (0)