Merge pull request #53 from martinsumner/mas-cdbcrc-i31

Switch to binary vclock
This commit is contained in:
Martin Sumner 2017-03-20 22:44:59 +00:00 committed by GitHub
commit 46759b945b

View file

@ -262,7 +262,7 @@ check_forobject(Bookie, TestObject) ->
Vclock, Vclock,
_Hash, _Hash,
size} = leveled_codec:riak_extract_metadata(HeadBinary, size), size} = leveled_codec:riak_extract_metadata(HeadBinary, size),
true = Vclock == TestObject#r_object.vclock. true = binary_to_term(Vclock) == TestObject#r_object.vclock.
check_formissingobject(Bookie, Bucket, Key) -> check_formissingobject(Bookie, Bucket, Key) ->
not_found = book_riakget(Bookie, Bucket, Key), not_found = book_riakget(Bookie, Bucket, Key),