commit | bacc8052fa4271718301346701cef5aa7d92854b | [log] [tgz] |
---|---|---|
author | Marc Treib <treib@chromium.org> | Wed Apr 30 09:31:43 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Apr 30 09:31:43 2025 |
tree | 3389b509088936b5600587495a62ff344e0f4017 | |
parent | 5fee7e02dff3acb39a6cd11924201fc1d97d88f0 [diff] |
[iOS] Avoid policy network requests in EG tests There was already code in AuthenticationFlowPerformer to fake a policy response (`forcePolicyResponseForNextRequestForTesting`), but it only sets the response for a single upcoming request, and would be hard to use consistently in all tests - so most tests didn't use it, and instead sent an actual network request, which of course failed. This CL expands this by adding `setUseFakePolicyResponsesForTesting`, which replaces all network requests by a default response. The hope is that this will improve test flakiness. Bug: 411035267 Change-Id: I12264f63aac217c96fdbe7376a37d709ccf9a9a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6494700 Reviewed-by: Jérôme Lebel <jlebel@chromium.org> Commit-Queue: Marc Treib <treib@chromium.org> Cr-Commit-Position: refs/heads/main@{#1453786}
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.