[roll] Roll fuchsia [bt-gap-unittests] Fix lock ordering

We were holding onto an RwLock (writer), for more time than necessary,
causing a lock cycle with `refresh_host` in one circumstance. We drop
the lock in expect_call before the `Fn` call to remove lock dependencies
altogether.

I also found a couple more spots with long-lived locks that could be
scoped further, so I addressed those even though it's not strictly
necessary for fixing the tests.

Fix: 463678722

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1523856
Original-Revision: 23eaf84d76d8d4c611d1e310492c93284a4c8a77
GitOrigin-RevId: ae70c23581169e9f674728d9637d529d8bd468f4
Change-Id: I52f4941f3bf270bd40c966849b9bdd7540008193
1 file changed
tree: 297a598cb9f23ebf1b60a82aa98aaf332de39187
  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.