commit | 57d92cf9c9c12305802197d826fe1c47baf14545 | [log] [tgz] |
---|---|---|
author | Braden Kell <bradenkell@google.com> | Fri Mar 21 06:52:50 2025 -0700 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Mar 21 06:52:50 2025 -0700 |
tree | 0a0a844538850c4a097901d1a3cb72dc90efea25 | |
parent | 51fc5e57347797d845d8ecf7d9fd38e8e09bfd04 [diff] |
[gpio][test] Fix incorrect assumption about FIDL call ordering A gpio-test case previously made two FIDL calls and waited for the second one to finish before continuing. The first call is completed asynchronously after being posted to a background dispatcher, so in some cases the second call would complete before the first, causing an error. To fix this, wait for the first call to complete, and just use RunUntilIdle() to wait for the second call which is always completed on the foreground dispatcher. Fixed: 395370078 Multiply: fuchsia-pkg://fuchsia.com/gpio-test#meta/gpio-test.cm Change-Id: I50fff07f09daddb2066759daf27fb4677e558933 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1233104 Reviewed-by: Andres Oportus <andresoportus@google.com> Fuchsia-Auto-Submit: Braden Kell <bradenkell@google.com> Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.