[roll] Roll fuchsia [audio][tests] Use FIFO barrier in plug detect test

Rework SimpleAudioTest.WatchPlugDetectAndCloseStreamBeforeReply
to avoid non-deterministic nanosleeps and OS thread spawning.

Instead, use asynchronous WireClients on a local async::Loop and
send a GetProperties request immediately after WatchPlugState.
Because Zircon channel messages are processed strictly in FIFO
order, receiving the GetProperties reply guarantees that the
preceding hanging get has been dequeued and registered by the
server thread prior to channel teardown.

This should improve flaky (inconsistent) test outcomes in highly
loaded test environments, such as asan-ubsan builds on arm64 EMU.

Test: fx test sa-unittest
Original-Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1676394
Original-Original-Revision: 63ecb7b37d8bbe064a1d7e83db7a6bcb51f52c5c
GitOrigin-RevId: b74420f1b4f779ef9f55a9628d4d4925f1acc5e2
Change-Id: I8dfe69cd22a70576cebe402172d8a9c19466126b
Reviewed-on: https://fuchsia-review.googlesource.com/c/integration/+/1685300
Cr-Commit-Position: refs/heads/main@{#195779}
1 file changed
tree: 1bfa8b9f6880b3d23bd9fb8059bc629fcd61b8cf
  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.