Expand test to ensure coverage catch
This commit is contained in:
parent
8113aebdcf
commit
5673d8b558
1 changed files with 2 additions and 2 deletions
|
@ -1969,7 +1969,7 @@ foldwithimm_simple_test() ->
|
||||||
create_file_test() ->
|
create_file_test() ->
|
||||||
{RP, Filename} = {"../test/", "new_file.sst"},
|
{RP, Filename} = {"../test/", "new_file.sst"},
|
||||||
ok = file:write_file(filename:join(RP, Filename), term_to_binary("hello")),
|
ok = file:write_file(filename:join(RP, Filename), term_to_binary("hello")),
|
||||||
KVL = lists:usort(generate_randomkeys({10000, 0})),
|
KVL = lists:usort(generate_randomkeys({50000, 0})),
|
||||||
Tree = leveled_tree:from_orderedlist(KVL, ?CACHE_TYPE),
|
Tree = leveled_tree:from_orderedlist(KVL, ?CACHE_TYPE),
|
||||||
FetchFun = fun(Slot) -> lists:nth(Slot, [Tree]) end,
|
FetchFun = fun(Slot) -> lists:nth(Slot, [Tree]) end,
|
||||||
{ok,
|
{ok,
|
||||||
|
@ -1979,7 +1979,7 @@ create_file_test() ->
|
||||||
1,
|
1,
|
||||||
FetchFun,
|
FetchFun,
|
||||||
undefined,
|
undefined,
|
||||||
10000,
|
50000,
|
||||||
native),
|
native),
|
||||||
lists:foreach(fun(X) ->
|
lists:foreach(fun(X) ->
|
||||||
case checkready(SP) of
|
case checkready(SP) of
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue