commit | 6089aaf13e8b19328bd38f8fa65ab213689fda2d | [log] [tgz] |
---|---|---|
author | Didi She <didis@google.com> | Thu Jun 13 20:15:23 2024 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 13 20:15:23 2024 +0000 |
tree | 7ce33b197e80be79c1588ab673568b46af4df58a | |
parent | 2ba7300ebdd2b821052053fbcdb3866ff1fd6c63 [diff] |
[power][broker] Status.WatchPowerLevel return most up-to-date value Switch to use hanging-get library for Status.WatchPowerLevel Remove `test_required_level_watch` integration test and add a new `test_required_level` unit test. The old integration test is flaky because the tested functions run in different async blocks and there's no guarantee which function runs first. Fixed: b/346352089 Test: fx test power_broker-test Change-Id: I4e7a91fa334f67fbc5497d76e8880b742db20aee Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1064608 Reviewed-by: Kyle Gong <kgong@google.com> Commit-Queue: Didi She <didis@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.