HADOOP-14230. TestAdlFileSystemContractLive fails to clean up. Contributed by John Zhuge.
(cherry picked from commit d1b7439b48
)
This commit is contained in:
parent
bbd08bb7a4
commit
100b8ce05b
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue