Turn down OOM memory test allocation a wee bit
The OOM death tests used an allocation value of MAX_LONG minus 12k. The problem with that value is that, on systems like the Mac DTKs that have 16k VM pages, that gets rounded up and wraps. Therefore, abstract it into “subtract three pages”. Bug: 1121749 Change-Id: I6c519200cbd848c095b741d78f51317ea6ef18b8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2376887 Commit-Queue: Avi Drissman <avi@chromium.org> Commit-Queue: Mark Mentovai <mark@chromium.org> Reviewed-by:Mark Mentovai <mark@chromium.org> Auto-Submit: Avi Drissman <avi@chromium.org> Cr-Commit-Position: refs/heads/master@{#801831}
Showing
Please register or sign in to comment