From 2a6fdcedeb45f0ac1b563c55bba5f56af6e19ff0 Mon Sep 17 00:00:00 2001 From: hemanthboyina Date: Fri, 11 Sep 2020 18:21:25 +0530 Subject: [PATCH] HDFS-15564. Add Test annotation for TestPersistBlocks#testRestartDfsWithSync. Contributed by Fei Hui. --- .../test/java/org/apache/hadoop/hdfs/TestPersistBlocks.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestPersistBlocks.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestPersistBlocks.java index 4a9949340f..c498160950 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestPersistBlocks.java +++ b/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); }