fix ignore tests

This commit is contained in:
Anatoly Yakovenko 2018-05-14 22:06:42 -07:00
parent 0a46bbe4f9
commit 4131071b9a
1 changed files with 4 additions and 1 deletions

View File

@ -191,7 +191,10 @@ impl Crdt {
} }
}) })
.collect(); .collect();
assert!(nodes.len() > 0); if nodes.len() < 1 {
return Err(Error::CrdtToSmall);
}
info!("nodes table {}", nodes.len()); info!("nodes table {}", nodes.len());
info!("blobs table {}", blobs.len()); info!("blobs table {}", blobs.len());
// enumerate all the blobs, those are the indecies // enumerate all the blobs, those are the indecies