Pick-up test misses
There were some coverage misses in tests, so check in unit test coverage or remove branches not currently needed.
This commit is contained in:
parent
427b97873c
commit
f40ecdd529
6 changed files with 37 additions and 27 deletions
|
@ -908,10 +908,13 @@ empty_manifest_test() ->
|
|||
{ok, Ink1} = ink_start(#inker_options{root_path=RootPath,
|
||||
cdb_options=CDBopts}),
|
||||
?assertMatch(not_present, ink_fetch(Ink1, "Key1", 1)),
|
||||
|
||||
CheckFun = fun(L, K, SQN) -> lists:member({SQN, K}, L) end,
|
||||
?assertMatch(false, CheckFun([], "key", 1)),
|
||||
ok = ink_compactjournal(Ink1,
|
||||
[],
|
||||
fun(X) -> {X, 55} end,
|
||||
fun(L, K, SQN) -> lists:member({SQN, K}, L) end,
|
||||
CheckFun,
|
||||
5000),
|
||||
timer:sleep(1000),
|
||||
?assertMatch(1, length(ink_getmanifest(Ink1))),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue