Unflake ExtensionWebRequestApiPolicyTest.WebRequestCORSWithExtraHeaders
Currently we have an expecation for an completion event for a CORS preflight request, but because the preflight request is rejected by the CORS module we may see a cancel event from the CORS module instead, which causes flakiness. We do not have a way to express such racy expecations, so let's remove the expecation from the test. The coverage is lowered but it's better than flaky tests. Bug: 1020185 Change-Id: I66f3ceb4f24f5440ecada005d442bed41f503626 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1973442 Commit-Queue: Yutaka Hirano <yhirano@chromium.org> Reviewed-by:Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/master@{#727341}
Showing
Please register or sign in to comment