Changed random parameter range so that at least two internal keys can always fit in a single page.

This commit is contained in:
Stephen Atherton 2017-09-01 00:17:07 -07:00
parent 1cd36b29f0
commit 9745334704
1 changed files with 1 additions and 1 deletions

View File

@ -975,7 +975,7 @@ TEST_CASE("/redwood/correctness/memory/set") {
else
pager = createMemoryPager();
state int pageSize = g_random->coinflip() ? -1 : g_random->randomInt(50, 200);
state int pageSize = g_random->coinflip() ? -1 : g_random->randomInt(100, 200);
state VersionedBTree *btree = new VersionedBTree(pager, pageSize);