remove Result<> from Blob accessors, add parent (#2608)

* remove Result<> from Blob accessors, add parent
* update chacha's golden
* fixup benches
This commit is contained in:
Rob Walker
2019-01-30 20:18:28 -08:00
committed by GitHub
parent a746969995
commit 1b50fbbc90
13 changed files with 204 additions and 249 deletions

View File

@@ -163,7 +163,7 @@ fn test_replicator_startup() {
if let Ok(blobs) = x {
for b in blobs {
let br = b.read().unwrap();
assert!(br.index().unwrap() == repair_index);
assert!(br.index() == repair_index);
let entry: Entry = deserialize(&br.data()[..br.meta.size]).unwrap();
info!("entry: {:?}", entry);
assert_ne!(entry.id, Hash::default());