Revert "TestWALProcedureStoreOnHDFS failing on branch-1"

This reverts commit dcfa01448c.
This commit is contained in:
Andrew Purtell 2018-05-30 14:44:22 -07:00
parent dcfa01448c
commit 31ae8dc7f3
1 changed files with 2 additions and 2 deletions

View File

@ -36,6 +36,7 @@ import org.apache.hadoop.hbase.testclassification.MasterTests;
import org.apache.hadoop.hbase.util.Threads; import org.apache.hadoop.hbase.util.Threads;
import org.apache.hadoop.hdfs.MiniDFSCluster; import org.apache.hadoop.hdfs.MiniDFSCluster;
import org.apache.hadoop.hdfs.server.datanode.DataNode; import org.apache.hadoop.hdfs.server.datanode.DataNode;
import org.junit.After;
import org.junit.Before; import org.junit.Before;
import org.junit.ClassRule; import org.junit.ClassRule;
import org.junit.Test; import org.junit.Test;
@ -91,8 +92,7 @@ public class TestWALProcedureStoreOnHDFS {
store.recoverLease(); store.recoverLease();
} }
// No @After @After
@SuppressWarnings("JUnit4TearDownNotRun")
public void tearDown() throws Exception { public void tearDown() throws Exception {
store.stop(false); store.stop(false);
UTIL.getDFSCluster().getFileSystem().delete(store.getWALDir(), true); UTIL.getDFSCluster().getFileSystem().delete(store.getWALDir(), true);