commit | 9de1ef1f289f809c39e177a6f910be1a3641f225 | [log] [tgz] |
---|---|---|
author | Rahul Singh <rahsin@microsoft.com> | Wed Jan 22 00:20:32 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jan 22 00:20:32 2025 |
tree | ccbfcac1df1f388e625d6cad14675fd4a74fe750 | |
parent | 10d7d44f792b3d6a7af459d042a5b927094ec5a1 [diff] |
FSO: Fix Linux and CrOS test flake by updating expectation Previously, we updated the implementation to watch the parent even for file watches. This allowed us to destruct the observation for LocalFS when the parent goes away. https://crrev.com/c//5941144 With that change, we started receiving events at the parent's level. So, closing a Writeable started showing up as a single "moved" event. Previous code adjusted that event to a "modified" in FSAWatcherManager. So, we updated the test expectation accordingly. Unfortunately, with inotify, we occasionally receive 2 events. A "deleted" event for the .crswap file followed by an "appeared" event for the observed file. This change updates the test expectation for Linux and ChromeOS (which rely on inotify) to prevent the flakes. Bug: 385381220 Change-Id: I68b883b74b0382ca57bfac5fc1d7cffb02e7eb18 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6172825 Reviewed-by: Daseul Lee <dslee@chromium.org> Commit-Queue: Rahul Singh <rahsin@microsoft.com> Cr-Commit-Position: refs/heads/main@{#1409373}
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.