Permalink
Browse files

Updated truncated_datafile_test for hintfile changes.

With the new 'recovery' option for keyfolding, the cask files
are scanned after the hint file read discovers an object beyond
the end of the cask file.
  • Loading branch information...
1 parent e881ce3 commit faf3f110abd531f3868deda9ed864fe132f5b174 @jonmeredith jonmeredith committed Feb 5, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/bitcask.erl
View
@@ -1585,7 +1585,8 @@ truncated_datafile_test() ->
% close and reopen so that status can reflect a closed file
B2 = bitcask:open(Dir, [read_write]),
- {1, [{_, _, _, 494}]} = bitcask:status(B2),
+
+ {1, [{_, _, _, 513}]} = bitcask:status(B2),
ok.
truncated_merge_test() ->

0 comments on commit faf3f11

Please sign in to comment.