536 | @@ -537,7 +537,7 @@ BOOST_AUTO_TEST_CASE(MempoolUnbroadcastMemoryUsage)
537 |
538 | auto usage_before{pool.DynamicMemoryUsage()};
539 | pool.AddUnbroadcastTx(txid);
540 | - BOOST_CHECK_EQUAL(pool.DynamicMemoryUsage(), usage_before); // TODO: Include the retained set node in reported usage
541 | + BOOST_CHECK_GT(pool.DynamicMemoryUsage(), usage_before);
nit: bot suggests tight assertion
BOOST_CHECK_EQUAL(new, before + memusage::MallocUsage(sizeof(memusage::stl_tree_node<Txid>)))
This was deliberate to make the characterization test assertions minimal (otherwise the assertion itself would change in the before/after scenario so we wouldn't be testing the same thing), but if reviewers would prefer that, I can extend it.