Test to reflect vclock not binary

This commit is contained in:
martinsumner 2017-03-21 18:28:28 +00:00
parent e59585d733
commit 97312e1356

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 = binary_to_term(Vclock) == TestObject#r_object.vclock. true = 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),