Make the PageCacheTest less flaky

I have not been able to reproduce the flakiness locally, so it's just guesswork if this change helps.
Merge pull request #2862 from chrisvest/2.2-less-flaky-pagecache-test

Make the PageCacheTest less flaky