Andres Noetzli ad0d70ca1e Relax asserts in arena_test
Summary:
Commit c67d2068988edccd0c732faec3d3c206089482c0 did not fix all test conditions
which use Arena::MemoryAllocatedBytes() (see Travis failure
https://travis-ci.org/facebook/rocksdb/jobs/79957700). The assumption of that
commit was that aligned allocations do not call Arena::AllocateNewBlock(), so
malloc_usable_block_size() would not be used for Arena::MemoryAllocatedBytes().
However, there is a code path where Arena::AllocateAligned() calls
AllocateFallback() which in turn calls Arena::AllocateNewBlock(), so
Arena::MemoryAllocatedBytes() may return a greater value than expected even for
aligned requests.

Test Plan: make arena_test && ./arena_test

Reviewers: rven, anthony, yhchiang, aekmekji, igor, sdong

Reviewed By: sdong

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D46869
2015-09-14 11:54:47 -07:00
..
2015-09-14 11:54:47 -07:00
2015-03-12 21:13:53 +03:00
2015-07-22 14:36:43 -07:00
2015-07-01 16:13:56 -07:00
2015-03-17 14:08:00 -07:00
2015-04-25 18:14:27 +09:00
2014-11-07 15:04:30 -08:00
2015-06-18 13:56:31 -07:00
2015-03-17 14:08:00 -07:00
2014-08-19 06:48:21 -07:00
2015-03-17 14:08:00 -07:00
2015-07-16 13:56:17 +08:00
2015-03-17 14:08:00 -07:00
2015-08-12 10:18:59 -07:00
2015-08-12 10:18:59 -07:00
2015-03-17 14:08:00 -07:00
2015-03-17 14:08:00 -07:00
2014-11-20 10:49:32 -08:00
2015-07-16 11:22:21 +02:00
2015-04-25 18:14:27 +09:00
2015-04-25 18:14:27 +09:00
2015-07-01 16:13:56 -07:00
2015-07-20 17:20:40 -07:00
2015-07-20 17:20:40 -07:00
2015-07-20 17:20:40 -07:00
2015-08-12 10:18:59 -07:00
2015-08-12 10:18:59 -07:00
2015-07-01 16:13:56 -07:00
2015-07-01 16:13:56 -07:00
2015-07-01 16:13:56 -07:00
2015-07-13 13:50:18 -07:00
2015-08-31 16:13:29 -07:00
2014-07-28 12:22:37 -07:00
2014-11-21 11:05:28 -05:00
2015-07-01 16:13:56 -07:00
2015-08-17 17:34:38 -07:00
2015-08-17 17:34:38 -07:00
2015-03-17 14:08:00 -07:00
2015-07-01 16:13:56 -07:00