[roll] Roll fuchsia [bt][ffx] Fix ffx bluetooth peer list command duplicate entries bug

Add unit test for update_peer_cache() testing that the peer cache does
not contain multiple entries for the same peer ID after the cache is
updated. This test covers the scenario that is causing the bug.

The bug is caused by the list of updated peers containing multiple
instances with the same peer ID. Fix the bug by modifying
update_peer_cache() to add each updated peer to the peer cache
individually, rather than adding them all at once. This allows the
duplicate peer IDs to be discovered and removed from the peer cache.

Original-Fixed: 487816368
Test: fx test fuchsia_bt_test_affordances_tests & manually tested using
bt-cli + ffx bluetooth
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1519096
Original-Revision: b163d46455e86b0eb6e6a82bebadae0005842d26
GitOrigin-RevId: a9e38d1ca66b0cdbe31988698a4543348a78b2d3
Change-Id: I3aaa2b29d951dfc1d0b9a8cb99b2d10de0b2e7de
1 file changed
tree: d8836d9f250864e86593f1e95b254cd8ba5b6fa3
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cobalt
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.