From 606dc2cbba077ca39a8c5767e505d1632635cec9 Mon Sep 17 00:00:00 2001 From: Ben Date: Fri, 1 Dec 2023 23:49:33 +0000 Subject: [PATCH] pw_bluetooth_sapphire: Fix BrEdrConnectionManager.Inspect test Somehow an inspect property matcher was removed from the BrEdrConnectionManager.Inspect test. This CL restores that matcher, fixing this test suite when it is run on Fuchsia. Bug: 136961 Test: (Fuchsia) fx test bt-host-gap-tests Change-Id: I2fbcd60a32e8001df68f229aacadf305226eba06 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/183304 Pigweed-Auto-Submit: Ben Lawson Reviewed-by: Ali Saeed Commit-Queue: Auto-Submit Presubmit-Verified: CQ Bot Account --- .../host/gap/bredr_connection_manager_test.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pw_bluetooth_sapphire/host/gap/bredr_connection_manager_test.cc b/pw_bluetooth_sapphire/host/gap/bredr_connection_manager_test.cc index 97b100eeb5..f24ee5110a 100644 --- a/pw_bluetooth_sapphire/host/gap/bredr_connection_manager_test.cc +++ b/pw_bluetooth_sapphire/host/gap/bredr_connection_manager_test.cc @@ -4785,7 +4785,8 @@ TEST_F(BrEdrConnectionManagerTest, Inspect) { UintIs("disconnect_local_api_request_count", 1), UintIs("disconnect_pairing_failed_count", 0), UintIs("disconnect_peer_disconnection_count", 0), - UintIs("interrogation_complete_count", 1))))), + UintIs("interrogation_complete_count", 1), + StringIs("security_mode", "Mode 4"))))), ChildrenMatch( UnorderedElementsAre(empty_requests_matcher, connections_after_disconnect_matcher,