lmkd/tests: Consume memory more aggressively to avoid test timeout am: 2bf5487381

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

Change-Id: I16cbef5d2680d974604c27b5940c5dadaf9395e9
This commit is contained in:
Suren Baghdasaryan 2022-02-04 00:26:37 +00:00 committed by Automerger Merge Worker
commit 99cb321008
1 changed files with 2 additions and 2 deletions

View File

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