More sanity checking for fill() in smoke test
This commit is contained in:
parent
3d2be7255f
commit
3963ce44f0
1 changed files with 7 additions and 0 deletions
|
@ -372,7 +372,14 @@ smoke1_test() ->
|
|||
%% Read repair should fix it.
|
||||
error_trimmed = read_page(P1, 7),
|
||||
[error_trimmed = corfurl_flu:read(flu_pid(X), Epoch, 7) || X <- Chain7],
|
||||
%% scan_forward shouldn't see it either
|
||||
{ok, 8, false, [{6,Pg6}]} = scan_forward(P1, 6, 10),
|
||||
|
||||
[F8a|_] = Chain8 = project_to_chain(8, P1),
|
||||
ok = corfurl_flu:fill(flu_pid(F8a), Epoch, 8),
|
||||
%% No read before scan, scan_forward shouldn't see 8 either,
|
||||
%% but the next seq should be 9
|
||||
{ok, 9, false, [{6,Pg6}]} = scan_forward(P1, 6, 10),
|
||||
|
||||
ok
|
||||
after
|
||||
|
|
Loading…
Reference in a new issue