commit | 15649dcd13b65c1ea5216d9600e5fdcfe42cb88b | [log] [tgz] |
---|---|---|
author | Justin Mattson <jmatt@google.com> | Thu Jun 16 21:06:37 2022 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 16 21:06:37 2022 +0000 |
tree | f03f4aaba178ecd45e34298030e4c09369bc0942 | |
parent | 3179dc51454ccdd643e8878bcf4b99b07e1602bf [diff] |
Reland "[pwrbtn-monitor][devices] Move OOM listening" In the reland we fix an issue where the code under test closing the response channel from mock services was considered a failure. It is not necessary for the mock services to be able to send a response. Also resolved as issue with concurrency in unittests which caused flakes. This reverts commit 7c30574e120ff82cf28e4349dad7d8fb4201d80d. Original commit message follows: Move OOM event listening to pwrbtn-monitor from driver_manager. This also removes filesystem shutdown code from driver_manager since this will be handled by the orderly shutdown of userspace that the pwrbtn-monitor will do when it gets he OOM signal. Bug: 91708 MULTIPLY: oom_tests: 80 MULTIPLY: pwrbtn-monitor-unittests: 200 MULTIPLY: pwrbtn-monitor-integration-test: 200 Change-Id: I558c2d59b8f9b5ad7d29e87c5e4f47584a1afb01 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/691105 Commit-Queue: Justin Mattson <jmatt@google.com> Reviewed-by: Patrick Shickel <pshickel@google.com> Reviewed-by: Rasha Eqbal <rashaeqbal@google.com> Reviewed-by: Allison Pearce <ampearce@google.com> Reviewed-by: Miguel Flores <miguelfrde@google.com> Reviewed-by: Suraj Malhotra <surajmalhotra@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.