diff --git a/tests/lmkd_test.cpp b/tests/lmkd_test.cpp index 5dbf6db..b1957bc 100644 --- a/tests/lmkd_test.cpp +++ b/tests/lmkd_test.cpp @@ -251,6 +251,7 @@ void runMemStressTest() { params.pid = pid; params.uid = uid; params.oomadj = data->oomadj; + params.ptype = PROC_TYPE_APP; ASSERT_FALSE(lmkd_register_proc(sock, ¶ms) < 0) << "Failed to communicate with lmkd, err=" << strerror(errno); // signal the child it can proceed