浏览代码

HADOOP-14230. TestAdlFileSystemContractLive fails to clean up. Contributed by John Zhuge.

(cherry picked from commit d1b7439b48caa18d64a94be1ad5e4927ce573ab8)
John Zhuge 8 年之前
父节点
当前提交
100b8ce05b

+ 1 - 2
hadoop-tools/hadoop-azure-datalake/src/test/java/org/apache/hadoop/fs/adl/live/TestAdlFileSystemContractLive.java

@@ -45,9 +45,8 @@ public class TestAdlFileSystemContractLive extends FileSystemContractBaseTest {
   protected void tearDown() throws Exception {
     if (AdlStorageConfiguration.isContractTestEnabled()) {
       cleanup();
-      adlStore = null;
-      fs = null;
     }
+    super.tearDown();
   }
 
   private void cleanup() throws IOException {