Merge pull request #222 from aeyakovenko/fixed_ignore_tests

fix ignore tests
This commit is contained in:
anatoly yakovenko
2018-05-14 22:18:38 -07:00
committed by GitHub

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