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

(cherry picked from commit d1b7439b48caa18d64a94be1ad5e4927ce573ab8)
This commit is contained in:
John Zhuge 2017-03-24 13:41:34 -07:00
parent 5130128a31
commit d370d8ddb8

View File

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