commit | b502029ec55b3b07bddc6b47b2acead941500787 | [log] [tgz] |
---|---|---|
author | Salma Elmahallawy <esalma@google.com> | Mon Mar 18 17:32:31 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Mar 18 17:32:31 2024 |
tree | 8f9b772c538aa2ca916c1e43e2b478b4b655ec9d | |
parent | f25a4acc8136ef3a405b1596a1d3591f18da01bf [diff] |
[PolicyLogs] Fix PolicyLoggerTest.PolicyLoggingEnabled Flakines The `PolicyLoggingEnabled` test is flaky on bots because the logger size is 200 before the test runs, and the logger size is limited to 200. If the limit is reached, the oldest log is deleted before adding a new one. Other tests might be running before the PolicyLoggerTest and filling the logger to the limit, so the logger is now reset in `SetUp` instead of `TearDown` to make sure its size is 0 at the beginning of tests. Bug: 329585486 Change-Id: I82ea3030114e27c56ce4fe12b79a782d4a489b5b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5377098 Commit-Queue: Salma Elmahallawy <esalma@google.com> Reviewed-by: Owen Min <zmin@chromium.org> Cr-Commit-Position: refs/heads/main@{#1274248}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.