HDFS-15564. Add Test annotation for TestPersistBlocks#testRestartDfsWithSync. Contributed by Fei Hui.

This commit is contained in:
hemanthboyina 2020-09-11 18:21:25 +05:30
parent 89428f142f
commit 2a6fdcedeb
1 changed files with 3 additions and 2 deletions

View File

@ -76,14 +76,15 @@ public class TestPersistBlocks {
/** check if DFS remains in proper condition after a restart /** check if DFS remains in proper condition after a restart
**/ **/
@Test @Test
public void TestRestartDfsWithFlush() throws Exception { public void testRestartDfsWithFlush() throws Exception {
testRestartDfs(true); testRestartDfs(true);
} }
/** check if DFS remains in proper condition after a restart /** check if DFS remains in proper condition after a restart
**/ **/
public void TestRestartDfsWithSync() throws Exception { @Test
public void testRestartDfsWithSync() throws Exception {
testRestartDfs(false); testRestartDfs(false);
} }