[fuchsia][base] Fix up binding in AgentImplTest
Some tests in the AgentImplTest suite were accidentally sending FIDL messages over unbound channels. This was not caught by the test because the tests did not spin the run loop to let the asynchronous callbacks run or not run. This error is caught by new instrumentation being added to the FIDL bindings. This fixes up the bindings mismatch, spins the run loop to perform the asynchronous portions of the test, and also adds some cleanup logic that is also necessary now that the asynchronous portion of the test is executing. Test: cr_fuchsia_base_unittests Bug: fuchsia:63593 Change-Id: I251124d9099695fc56096fd7baeb7a8fb67fdf7d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2530268 Commit-Queue: Kevin Marshall <kmarshall@chromium.org> Auto-Submit: James Robinson <jamesr@chromium.org> Reviewed-by:Kevin Marshall <kmarshall@chromium.org> Cr-Commit-Position: refs/heads/master@{#826395}
Showing
Please register or sign in to comment