commit | c78256d91ccf017cb50308a4bacfacbd3097855c | [log] [tgz] |
---|---|---|
author | Michael Rosenfeld <mrosenfeld@google.com> | Tue Mar 22 18:28:20 2022 -0700 |
committer | Michael Rosenfeld <mrosenfeld@google.com> | Wed Mar 30 10:24:25 2022 -0700 |
tree | 517b78f5dcea70869bf312034925a181f813a9ab | |
parent | 34cfeafaf2583921ed5b5d2ab84e46a73ce12dfd [diff] |
Fix and clean up the drop caches test. * Fixes an off-by-one error in writing chunks in the file. * Explicitly avoid readahead for minor faults, although unlikely. * Assert on mmap calls succeeding for extra safety. * Poll and sleep for up to 10 seconds to deal with slow behavior. Bug: 218669792 Bug: 217929761 Test: manual and with forrest on failing targets Change-Id: If67aa56a8f273bda41c60c54834985a482246f04