File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
hbase-server/src/test/java/org/apache/hadoop/hbase/master Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 21
21
22
22
import java .io .IOException ;
23
23
import org .apache .hadoop .fs .Path ;
24
+ import org .apache .hadoop .hbase .HBaseClassTestRule ;
24
25
import org .apache .hadoop .hbase .HBaseTestingUtil ;
25
26
import org .apache .hadoop .hbase .HConstants ;
26
27
import org .apache .hadoop .hbase .TableName ;
33
34
import org .apache .hadoop .hbase .util .CommonFSUtils ;
34
35
import org .junit .AfterClass ;
35
36
import org .junit .BeforeClass ;
37
+ import org .junit .ClassRule ;
36
38
import org .junit .Test ;
37
39
import org .junit .experimental .categories .Category ;
38
40
43
45
@ Category ({ MasterTests .class , MediumTests .class })
44
46
public class TestRestartWithEmptyWALDirectory {
45
47
48
+ @ ClassRule
49
+ public static final HBaseClassTestRule CLASS_RULE =
50
+ HBaseClassTestRule .forClass (TestRestartWithEmptyWALDirectory .class );
51
+
46
52
private static final HBaseTestingUtil UTIL = new HBaseTestingUtil ();
47
53
48
54
private static TableName NAME = TableName .valueOf ("test" );
You can’t perform that action at this time.
0 commit comments