HADOOP-14230. TestAdlFileSystemContractLive fails to clean up. Contributed by John Zhuge.
This commit is contained in:
parent
332a997e10
commit
d1b7439b48
@ -45,9 +45,8 @@ protected void setUp() throws Exception {
|
|||||||
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
Block a user