| commit | 00f379e025ae8bd3ccbb8cf0b4f46fb413d48bf0 | [log] [tgz] |
|---|---|---|
| author | Sam Hansen <hansens@fuchsia.infra.roller.google.com> | Sat Nov 23 00:38:32 2024 +0000 |
| committer | Copybara-Service <copybara-worker@google.com> | Fri Nov 22 16:40:15 2024 -0800 |
| tree | b41043100f0f3b082ac17a24fa1232ef720368c6 | |
| parent | d3634031b6844e663bd13a9212121867d7bf5ad1 [diff] |
[roll] Roll fuchsia [usb][adb] Fix race in usb-adb-test Currently, the test teardown logic calls the UnbindOp() on a background thread, and then proceeds to tear down the fake root device - which races with the background thread. If the dtor wins the race, it will cause a failure because the UnbindOp() was called but never (not yet) replied to. All we need to do is synchronize the UnbindOp() running on a background thread to the testing thread via WaitUntilUnbindReplyCalled(). This blocks TearDown() until the driver's unbind logic actually replies to the unbind request. Original-Bug: b/380480663 Test: fx test usb-adb-unittest Multiply: usb-adb-test Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1162295 Original-Revision: 32478ccf0ba429e93b4212ab5bf8a0c5992e76c4 GitOrigin-RevId: dfa17c2514e936a4336773b60552e80745bc4ca9 Change-Id: I48e59e4508f314c3b5decf7f9cbb34161ad0ab90
This repository contains Fuchsia's Global Integration manifest files.
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.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party.