Switch to binary vclock

This commit is contained in:
Martin Sumner 2017-03-20 22:44:19 +00:00
parent eec9d509f9
commit a2c164e1dd

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),