commit | ad3cc0635cd83957a3cbd465d77d8fa2297c4f97 | [log] [tgz] |
---|---|---|
author | Eric Rahm <erahm@google.com> | Thu Mar 09 22:07:52 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Mar 09 22:07:52 2023 +0000 |
tree | f836082f083bfe622f32eae3d87dba09587c0bd3 | |
parent | 95c8dfecf54e499f37e042e250c9b2e8e38902e5 [diff] |
[settings] Filter events in restore_agent_tests This adds a `next_of_type` helper that ignores unexpected message types and updates the restore_agent_tests to use it so that we can ignore events we don't care about. Note: this is fixing a latent issue uncovered when adding additional events the settings handler's startup flow. Tests: fx test setui_service_tests Bug: 123103 Change-Id: I8643988446796e499aecfcbb2deb57192cad438f Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/816848 Reviewed-by: Paul Faria <paulfaria@google.com> Commit-Queue: Eric Rahm <erahm@google.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.