Clear Yammer metrics in QuorumTestHarness#tearDown
Clear the Yammer metrics after each test. This will allow the RaftManager and other objects to get properly GC'd
Reviewers: Jason Gustafson
@@ -384,6 +384,7 @@ abstract class QuorumTestHarness extends Logging {
if (implementation != null) {
implementation.shutdown()
}
+ TestUtils.clearYammerMetrics()
System.clearProperty(JaasUtils.JAVA_LOGIN_CONFIG_PARAM)
Configuration.setConfiguration(null)
faultHandler.maybeRethrowFirstException()
