Skip to content

Conversation

cvinayak
Copy link
Contributor

@cvinayak cvinayak commented Oct 13, 2025

Add back test failure that was missed when fixing double
and redundant advertising start in
commit 7a672c0 ("Bluetooth: tests: bsim: Fix double
advertising in test_connect2").

Also, relates to commit 8cfad44 ("Bluetooth: Deprecate
adv auto-resume").

@cvinayak cvinayak force-pushed the github_test_ll_conn_fix branch from a3fc8f6 to 1a1db68 Compare October 13, 2025 16:27
@cvinayak cvinayak marked this pull request as ready for review October 13, 2025 18:34
@zephyrbot zephyrbot added area: Bluetooth area: Tests Issues related to a particular existing or missing test area: Bluetooth Controller labels Oct 13, 2025
err = bt_le_adv_start(BT_LE_ADV_CONN_FAST_1, ad, ARRAY_SIZE(ad), NULL, 0);
err = start_advertising();
if (err) {
FAIL("Advertising failed to start (err %d)\n", err);
Copy link
Member

Choose a reason for hiding this comment

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

Wont this cause log string duplication with the printk() that start_advertising() has internally for the error case?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch. I will remove the printk there, as we need FAIL that sets bst_result for bsim verdict.

Add back test failure that was missed when fixing double
and redundant advertising start in
commit 7a672c0 ("Bluetooth: tests: bsim: Fix double
advertising in test_connect2").

Also, relates to commit 8cfad44 ("Bluetooth: Deprecate
adv auto-resume").

Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
@cvinayak cvinayak force-pushed the github_test_ll_conn_fix branch from 1a1db68 to 8f32267 Compare October 15, 2025 04:14
@cvinayak cvinayak changed the title tests: bsim: Bluetooth: Fix double advertising start tests: bsim: Bluetooth: Fail on advertising start error Oct 15, 2025
Copy link

@cvinayak cvinayak requested a review from jhedberg October 15, 2025 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Bluetooth Controller area: Bluetooth area: Tests Issues related to a particular existing or missing test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants