Correct estimate for singleton to return 0 and use custom accumulator in tests to fix assertions. Tried not doing this in #13232 but turns out we need a little complexity here since the singleton is recognized by the RamUsageTester in so far that is only counted once if it shows up repeatedly in an array or so.
Correct estimate for singleton to return
0
and use custom accumulator in tests to fix assertions. Tried not doing this in #13232 but turns out we need a little complexity here since the singleton is recognized by theRamUsageTester
in so far that is only counted once if it shows up repeatedly in an array or so.fixes #13249