Browse Source

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

John Zhuge 8 years ago
parent
commit
d1b7439b48

+ 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 {