Disable IsolatedOriginTest.ProcessLimit test if --site-per-process is on
Bug: 765711 Change-Id: Ia9068647f95847b2884c3488967cd3da5c96c58f Reviewed-on: https://chromium-review.googlesource.com/669037 Reviewed-by: Alex Moshchuk <alexmos@chromium.org> Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org> Cr-Commit-Position: refs/heads/master@{#502335}
This commit is contained in:

committed by
Commit Bot

parent
4e89de7f5d
commit
5f9683f816
@ -359,6 +359,11 @@ IN_PROC_BROWSER_TEST_F(IsolatedOriginTest, Cookies) {
|
||||
// Check that isolated origins won't be placed into processes for other sites
|
||||
// when over the process limit.
|
||||
IN_PROC_BROWSER_TEST_F(IsolatedOriginTest, ProcessLimit) {
|
||||
// TODO(alexmos): https://crbug.com/765711: the test is flaky with
|
||||
// --site-per-process.
|
||||
if (AreAllSitesIsolatedForTesting())
|
||||
return;
|
||||
|
||||
// Set the process limit to 1.
|
||||
RenderProcessHost::SetMaxRendererProcessCount(1);
|
||||
|
||||
|
Reference in New Issue
Block a user