ConditionalCacheDeletionHelperBrowserTest.TimeAndURL is fragile |
|
Issue descriptionConditionalCacheDeletionHelperBrowserTest.TimeAndURL depends on the timing of the cache, which isn't guaranteed. To make it work with out of process networking, I converted it in https://chromium-review.googlesource.com/c/chromium/src/+/1357567. But the timing was different, and so it flaked twice on Win 7 Tests x64 main waterfall bot. I checked the other testers and didn't see any flakes. It was reverted, so I'm relanding and making it early-exit when network service is enabled. Assigning to Martin as the original author of the test. We will be running the non-network service path on the bots for at least a few months, but this should be fixed before then.
,
Dec 3
Yep, I had based the rewrite on ClearSiteDataHandlerBrowserTest and did as you suggested :) It was still flaky though. There's the "TestTimeouts::tiny_timeout()" sleep, it's not guaranteed that the cache (in which every process) would be written. I wonder if maybe we can add a ForTesting method on NetworkContext that reaches into the disk cache objects and forces them to flush? |
|
►
Sign in to add a comment |
|
Comment 1 by msramek@chromium.org
, Dec 3