lmkd/tests: Consume memory more aggressively to avoid test timeout am: 2bf5487381 am: 99cb321008 am: c701f32c23 am: 81b6597577

Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/1972099

Change-Id: I7f4504ff20c0029d8c208739187c363f55b3f321
This commit is contained in:
Suren Baghdasaryan 2022-02-04 01:10:54 +00:00 committed by Automerger Merge Worker
commit b66ac6134a
1 changed files with 2 additions and 2 deletions

View File

@ -47,8 +47,8 @@ using namespace android::base;
// Test constant parameters
#define OOM_ADJ_MAX 1000
#define ALLOC_STEP (ONE_MB)
#define ALLOC_DELAY 1000
#define ALLOC_STEP (5 * ONE_MB)
#define ALLOC_DELAY 200
// used to create ptr aliasing and prevent compiler optimizing the access
static volatile void* gptr;