Fix tests

Obviously got totally messed up and confused when testing previous
commits.

Multiple tests were failing for a change which got merged in as the
tests were not reflecting the required API.
This commit is contained in:
Martin Sumner 2017-09-15 10:33:16 +01:00
parent ff6a662bed
commit 869e799b41
2 changed files with 8 additions and 4 deletions

View file

@ -116,7 +116,9 @@ aae_missingjournal(_Config) ->
leveled_bookie:book_returnfolder(Bookie1,
{foldheads_allkeys,
?RIAK_TAG,
FoldHeadsFun}),
FoldHeadsFun,
true,
true}),
HeadL1 = length(AllHeadF1()),
io:format("Fold head returned ~w objects~n", [HeadL1]),
@ -132,7 +134,9 @@ aae_missingjournal(_Config) ->
leveled_bookie:book_returnfolder(Bookie2,
{foldheads_allkeys,
?RIAK_TAG,
FoldHeadsFun}),
FoldHeadsFun,
true,
true}),
HeadL2 = length(AllHeadF2()),
io:format("Fold head returned ~w objects~n", [HeadL2]),
true = HeadL2 < HeadL1,