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

(cherry picked from commit d1b7439b48)
This commit is contained in:
John Zhuge 2017-03-24 13:41:09 -07:00
parent bbd08bb7a4
commit 100b8ce05b
1 changed files with 1 additions and 2 deletions

View File

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