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:
parent
ff6a662bed
commit
869e799b41
2 changed files with 8 additions and 4 deletions
|
@ -534,8 +534,8 @@ space_clear_ondelete(_Config) ->
|
|||
io:format("Waiting for journal deletes - blocked~n"),
|
||||
timer:sleep(20000),
|
||||
|
||||
% for this query snapshot is made at fold time
|
||||
true = length(HTreeF1()) == 0,
|
||||
% for this query snapshot is made at fold time - EDIT now uses a snapshot!
|
||||
true = length(HTreeF1()) == 80000,
|
||||
% This query uses a genuine async fold on a snasphot made at request time
|
||||
true = length(KF1()) == 80000,
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue