Fix BufferLimitConfig test for low memory devices
This commit fixes the BufferLimitConfig content unittest by accounting for low memory devices. When a device has 1 GB or less of RAM, BackgroundTracingConfigImpl::GetMaximumTraceBufferSizeKb() returns the low RAM buffer size instead of mobile network buffer size for Android. This commit updates the BufferLimitConfig test expectations to handle that code path properly. TEST=out/Debug/bin/run_content_unittests --num_retries=0 -f BackgroundTracingConfigTest.BufferLimitConfig Bug: 1038539 Change-Id: I53622041b06c012b9b3b06dc9df49b8587f57b4f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1983669Reviewed-by:oysteine <oysteine@chromium.org> Commit-Queue: oysteine <oysteine@chromium.org> Cr-Commit-Position: refs/heads/master@{#731773}
Showing
Please register or sign in to comment