Description[Telemetry] Don't fail powermetrics unit tests when run on a VM.
When running on a VM, the output of power metrics changes causing the parsing code to fail, notably the 'component_utilization' section doesn't appear. Return empty output rather than throwing an exception when parsing.
BUG=423688
Committed: https://crrev.com/a8219a1ccb145b58fa0cd449365bcec3cdfc52f4
Cr-Commit-Position: refs/heads/master@{#307478}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|