Change cache_size in sst tests

Makes results more predictable (with coin toss variations)
This commit is contained in:
Martin Sumner 2019-01-29 13:40:55 +00:00
parent 51a0260a60
commit be6e23f7de

View file

@ -170,7 +170,7 @@ bigsst_littlesst(_Config) ->
RootPath = testutil:reset_filestructure(),
StartOpts1 = [{root_path, RootPath},
{max_journalsize, 50000000},
{cache_size, 1000},
{cache_size, 500},
{max_pencillercachesize, 16000},
{max_sstslots, 256},
{sync_strategy, testutil:sync_strategy()},
@ -195,7 +195,7 @@ bigsst_littlesst(_Config) ->
ok = leveled_bookie:book_destroy(Bookie2),
io:format("Big SST ~w files Little SST ~w files~n",
[length(FNS1), length(FNS2)]),
true = length(FNS2) > (2 * length(FNS1)).
true = length(FNS2) >= (2 * length(FNS1)).