Change cache_size in sst tests
Makes results more predictable (with coin toss variations)
This commit is contained in:
parent
51a0260a60
commit
be6e23f7de
1 changed files with 2 additions and 2 deletions
|
@ -170,7 +170,7 @@ bigsst_littlesst(_Config) ->
|
||||||
RootPath = testutil:reset_filestructure(),
|
RootPath = testutil:reset_filestructure(),
|
||||||
StartOpts1 = [{root_path, RootPath},
|
StartOpts1 = [{root_path, RootPath},
|
||||||
{max_journalsize, 50000000},
|
{max_journalsize, 50000000},
|
||||||
{cache_size, 1000},
|
{cache_size, 500},
|
||||||
{max_pencillercachesize, 16000},
|
{max_pencillercachesize, 16000},
|
||||||
{max_sstslots, 256},
|
{max_sstslots, 256},
|
||||||
{sync_strategy, testutil:sync_strategy()},
|
{sync_strategy, testutil:sync_strategy()},
|
||||||
|
@ -195,7 +195,7 @@ bigsst_littlesst(_Config) ->
|
||||||
ok = leveled_bookie:book_destroy(Bookie2),
|
ok = leveled_bookie:book_destroy(Bookie2),
|
||||||
io:format("Big SST ~w files Little SST ~w files~n",
|
io:format("Big SST ~w files Little SST ~w files~n",
|
||||||
[length(FNS1), length(FNS2)]),
|
[length(FNS1), length(FNS2)]),
|
||||||
true = length(FNS2) > (2 * length(FNS1)).
|
true = length(FNS2) >= (2 * length(FNS1)).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue