Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(295)

Issue 2618853002: Don't run memory-intensive tests on low-memory devices. (Closed)

Created:
3 years, 11 months ago by palmer
Modified:
3 years, 11 months ago
CC:
Mads Ager (chromium), chromium-reviews, Dai Mikurube (NOT FULLTIME), kouhei+heap_chromium.org, oilpan-reviews, vmpstr+watch_chromium.org, wfh+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't run memory-intensive tests on low-memory devices. It makes the tests flaky. Add a TODO to disable OOM killing for these tests, where possible. BUG=675255 Review-Url: https://codereview.chromium.org/2618853002 Cr-Commit-Position: refs/heads/master@{#441802} Committed: https://chromium.googlesource.com/chromium/src/+/e46baf31c8607e58385f55a79b31e941d29e204f

Patch Set 1 #

Patch Set 2 : Make GenericAllocGetSize a no-op, too. #

Total comments: 4

Patch Set 3 : Respond to comments. #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -0 lines) Patch
M base/allocator/partition_allocator/partition_alloc_unittest.cc View 1 2 3 chunks +18 lines, -0 lines 4 comments Download

Messages

Total messages: 22 (13 generated)
palmer
This should be a quick review. Thanks!
3 years, 11 months ago (2017-01-05 22:41:03 UTC) #2
danakj
https://codereview.chromium.org/2618853002/diff/20001/base/allocator/partition_allocator/partition_alloc_unittest.cc File base/allocator/partition_allocator/partition_alloc_unittest.cc (right): https://codereview.chromium.org/2618853002/diff/20001/base/allocator/partition_allocator/partition_alloc_unittest.cc#newcode614 base/allocator/partition_allocator/partition_alloc_unittest.cc:614: // TODO: Where necessary and possible, disable the platform's ...
3 years, 11 months ago (2017-01-05 23:00:44 UTC) #9
haraken
LGTM with dana's comments addressed.
3 years, 11 months ago (2017-01-05 23:30:32 UTC) #12
palmer
https://codereview.chromium.org/2618853002/diff/20001/base/allocator/partition_allocator/partition_alloc_unittest.cc File base/allocator/partition_allocator/partition_alloc_unittest.cc (right): https://codereview.chromium.org/2618853002/diff/20001/base/allocator/partition_allocator/partition_alloc_unittest.cc#newcode614 base/allocator/partition_allocator/partition_alloc_unittest.cc:614: // TODO: Where necessary and possible, disable the platform's ...
3 years, 11 months ago (2017-01-06 00:30:53 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2618853002/40001
3 years, 11 months ago (2017-01-06 00:34:38 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/e46baf31c8607e58385f55a79b31e941d29e204f
3 years, 11 months ago (2017-01-06 01:45:35 UTC) #19
Primiano Tucci (use gerrit)
https://codereview.chromium.org/2618853002/diff/40001/base/allocator/partition_allocator/partition_alloc_unittest.cc File base/allocator/partition_allocator/partition_alloc_unittest.cc (right): https://codereview.chromium.org/2618853002/diff/40001/base/allocator/partition_allocator/partition_alloc_unittest.cc#newcode614 base/allocator/partition_allocator/partition_alloc_unittest.cc:614: // TODO(crbug.com/678782): Where necessary and possible, disable the I ...
3 years, 11 months ago (2017-01-06 10:58:37 UTC) #20
Primiano Tucci (use gerrit)
On 2017/01/06 10:58:37, Primiano Tucci (back but slow) wrote: > https://codereview.chromium.org/2618853002/diff/40001/base/allocator/partition_allocator/partition_alloc_unittest.cc > File base/allocator/partition_allocator/partition_alloc_unittest.cc (right): ...
3 years, 11 months ago (2017-01-06 11:09:46 UTC) #21
danakj
3 years, 11 months ago (2017-01-06 15:20:10 UTC) #22
Message was sent while issue was closed.
LGTM anyhow

https://codereview.chromium.org/2618853002/diff/40001/base/allocator/partitio...
File base/allocator/partition_allocator/partition_alloc_unittest.cc (right):

https://codereview.chromium.org/2618853002/diff/40001/base/allocator/partitio...
base/allocator/partition_allocator/partition_alloc_unittest.cc:614: //
TODO(crbug.com/678782): Where necessary and possible, disable the
On 2017/01/06 10:58:36, Primiano Tucci (back but slow) wrote:
> I don't think this is needed. If you look in the body of this test, I did
> already add a narrower exclusion below only on the 512M part. According to
> crbug.com/675255#c9:
> 
> "In all of these, PartitionAllocTest.GenericAllocGetSize and
> PartitionAllocTest.GenericAllocSizes are passing now (whereas they were
failing
> 100% before), so these I would say are fixed (Woo! Thanks!)."
> 
> So I'd partially revert this hunk to avoid losing unnecessary coverage.

Maybe we can move the TODO down there then

Powered by Google App Engine
This is Rietveld 408576698