We should do some git archaeology on this one, but garbage collection tests seem to trigger garbage collection by starting 2 puppetdb's in the same jvm and relying on global metrics to count the start-up garbage collection twice.
We should see if that is the intended test case, and adjust accordingly.