Don't report a failure if we got a fat root.

This commit is contained in:
JoelKatz
2012-08-19 19:03:33 -07:00
parent 64b3afad28
commit e825db5db9

View File

@@ -450,7 +450,7 @@ BOOST_AUTO_TEST_CASE( SHAMapSync_test )
Log(lsFATAL) << "GetNodeFat(root) fails";
BOOST_FAIL("GetNodeFat");
}
if (gotNodes.size() != 1)
if (gotNodes.size() < 1)
{
Log(lsFATAL) << "Didn't get root node " << gotNodes.size();
BOOST_FAIL("NodeSize");