You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by he...@apache.org on 2020/09/11 12:53:28 UTC
[hadoop] branch branch-3.3 updated: HDFS-15564. Add Test annotation
for TestPersistBlocks#testRestartDfsWithSync. Contributed by Fei Hui.
This is an automated email from the ASF dual-hosted git repository.
hemanthboyina pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/branch-3.3 by this push:
new a2bc0dc HDFS-15564. Add Test annotation for TestPersistBlocks#testRestartDfsWithSync. Contributed by Fei Hui.
a2bc0dc is described below
commit a2bc0dcd210683d8acb905e0d1f7b91f789dad8e
Author: hemanthboyina <he...@apache.org>
AuthorDate: Fri Sep 11 18:21:25 2020 +0530
HDFS-15564. Add Test annotation for TestPersistBlocks#testRestartDfsWithSync. Contributed by Fei Hui.
(cherry picked from commit 2a6fdcedeb45f0ac1b563c55bba5f56af6e19ff0)
---
.../src/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 4a99493..c498160 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);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org