From d1b7439b48caa18d64a94be1ad5e4927ce573ab8 Mon Sep 17 00:00:00 2001 From: John Zhuge Date: Fri, 24 Mar 2017 08:36:34 -0700 Subject: [PATCH] HADOOP-14230. TestAdlFileSystemContractLive fails to clean up. Contributed by John Zhuge. --- .../hadoop/fs/adl/live/TestAdlFileSystemContractLive.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hadoop-tools/hadoop-azure-datalake/src/test/java/org/apache/hadoop/fs/adl/live/TestAdlFileSystemContractLive.java b/hadoop-tools/hadoop-azure-datalake/src/test/java/org/apache/hadoop/fs/adl/live/TestAdlFileSystemContractLive.java index 657947e7b0..9d055f18b2 100644 --- a/hadoop-tools/hadoop-azure-datalake/src/test/java/org/apache/hadoop/fs/adl/live/TestAdlFileSystemContractLive.java +++ b/hadoop-tools/hadoop-azure-datalake/src/test/java/org/apache/hadoop/fs/adl/live/TestAdlFileSystemContractLive.java @@ -45,9 +45,8 @@ protected void setUp() throws Exception { protected void tearDown() throws Exception { if (AdlStorageConfiguration.isContractTestEnabled()) { cleanup(); - adlStore = null; - fs = null; } + super.tearDown(); } private void cleanup() throws IOException {