commit | 4e10f0bbbf2f9187a3ab295dc6ca6a01984585c1 | [log] [tgz] |
---|---|---|
author | Chris Phoenix <cphoenix@google.com> | Thu Mar 07 01:55:39 2024 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Mar 07 01:55:39 2024 +0000 |
tree | b682b0a367eaf89d6103ae2ef01ebe47dc1703c3 | |
parent | 249a32a63e5b299ceed154fa2b469953aa2c7d5a [diff] |
[diagnostics][sampler] Increase test Reader timeout Reader has a default timeout of 10 sec for a component to supply Inspect data. For tests in emu, this is sometimes exceeded and causes flakes. This CL adds a for-test config to Sampler that tells the Reader to have an infinite timeout. As part of this, SamplerConfig is changed to a builder pattern so that other code which uses SamplerConfig won't have to change in the future every time we add a config option. This CL also adds a check to the tests to make sure the "single-counter" test component is publishing Inspect data before Sampler tries to read it. Fixed: b/320697654 Multiply: sampler-integration-tests Change-Id: If8958bdbab5cfbb3d542f3297d5f561426cf680a Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1002323 Reviewed-by: Bruno Dal Bo <brunodalbo@google.com> Reviewed-by: Miguel Flores <miguelfrde@google.com> Commit-Queue: Chris Phoenix <cphoenix@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.