public virtual void Shutdown() { IOUtils.Cleanup(Log, Sharpen.Collections.ToArray(toClose, new IDisposable[0])); // Should not leak clients between tests -- this can cause flaky tests. // (See HDFS-4643) GenericTestUtils.AssertNoThreadsMatching(".*IPC Client.*"); if (cluster != null) { cluster.Shutdown(); } }
public virtual void Cleanup() { if (jCluster != null) { jCluster.Shutdown(); } }