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();
     }
 }
示例#2
0
 public virtual void Cleanup()
 {
     if (jCluster != null)
     {
         jCluster.Shutdown();
     }
 }