mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
Merge branch 'bugfix/bt_idf_ci' into 'master'
fix(bt/examples): Fixed test_bt_l2cap not finding ESP_SDP_CREATE_RECORD_COMP_EVT Closes IDFCI-6518 See merge request espressif/esp-idf!43428
This commit is contained in:
@@ -169,8 +169,11 @@ def test_bt_l2cap(app_path: str, dut: tuple[IdfDut, IdfDut]) -> None:
|
||||
client = dut[1]
|
||||
|
||||
server.expect_exact('ESP_BT_L2CAP_INIT_EVT: status:0', timeout=30)
|
||||
server.expect_exact('ESP_BT_L2CAP_START_EVT: status:0', timeout=30)
|
||||
server.expect_exact('ESP_SDP_CREATE_RECORD_COMP_EVT: status:0', timeout=30)
|
||||
server.expect(
|
||||
r'(?s)(ESP_BT_L2CAP_START_EVT: status:0.*ESP_SDP_CREATE_RECORD_COMP_EVT: status:0|'
|
||||
r'ESP_SDP_CREATE_RECORD_COMP_EVT: status:0.*ESP_BT_L2CAP_START_EVT: status:0)',
|
||||
timeout=30,
|
||||
)
|
||||
client.expect_exact('ESP_BT_L2CAP_INIT_EVT: status:0', timeout=30)
|
||||
client.expect_exact('ESP_SDP_SEARCH_COMP_EVT: status:0', timeout=30)
|
||||
client.expect_exact('ESP_BT_L2CAP_OPEN_EVT: status:0', timeout=30)
|
||||
|
||||
Reference in New Issue
Block a user