Correct testutil to understand riak_extract_metadata
Change, but change not reflected in tets code
This commit is contained in:
parent
ebef27f021
commit
8e7aaf0ee7
1 changed files with 2 additions and 4 deletions
|
@ -264,10 +264,8 @@ check_forobject(Bookie, TestObject) ->
|
|||
{ok, HeadBinary} = book_riakhead(Bookie,
|
||||
TestObject#r_object.bucket,
|
||||
TestObject#r_object.key),
|
||||
{_SibMetaBin,
|
||||
Vclock,
|
||||
_Hash,
|
||||
size} = leveled_codec:riak_extract_metadata(HeadBinary, size),
|
||||
{{_SibMetaBin, Vclock, _Hash, size}, _LMS}
|
||||
= leveled_codec:riak_extract_metadata(HeadBinary, size),
|
||||
true = binary_to_term(Vclock) == TestObject#r_object.vclock.
|
||||
|
||||
check_formissingobject(Bookie, Bucket, Key) ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue