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

This commit is contained in:
John Zhuge 2017-03-24 08:36:34 -07:00
parent 332a997e10
commit d1b7439b48

View File

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