Преглед на файлове

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

hemanthboyina преди 4 години
родител
ревизия
2a6fdcedeb
променени са 1 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 3 2
      hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestPersistBlocks.java

+ 3 - 2
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestPersistBlocks.java

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