The test passes, but the existing code has memory leak detection:
def test_memory_leak():
"Run the memory leak test and report results."
tgen = get_topogen()
if not tgen.is_memleak_enabled():
pytest.skip("Memory leak test/report is disabled")
tgen.report_memory_leaks()
The test passes, but the existing code has memory leak detection:
Should it be added ?