HBASE-21943 Addendum fix compile error

This commit is contained in:
Duo Zhang 2019-02-27 11:14:19 +08:00
parent dcc22d3e41
commit bc71447a0d
1 changed files with 0 additions and 3 deletions

View File

@ -18,7 +18,6 @@
package org.apache.hadoop.hbase.client;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.io.IOException;
import org.apache.commons.io.IOUtils;
@ -64,13 +63,11 @@ public class TestAsyncTableLocateRegionForDeletedTable {
TEST_UTIL.waitTableAvailable(TABLE_NAME);
TEST_UTIL.getAdmin().balancerSwitch(false, true);
ASYNC_CONN = ConnectionFactory.createAsyncConnection(TEST_UTIL.getConfiguration()).get();
assertFalse(ASYNC_CONN.isClosed());
}
@AfterClass
public static void tearDownAfterClass() throws Exception {
IOUtils.closeQuietly(ASYNC_CONN);
assertTrue(ASYNC_CONN.isClosed());
TEST_UTIL.shutdownMiniCluster();
}