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 aa...@apache.org on 2016/12/26 08:16:58 UTC

hadoop git commit: HDFS-11272. Refine the assert messages in TestFSDirAttrOp. Contributed by Jimmy Xiang.

Repository: hadoop
Updated Branches:
  refs/heads/trunk 8f218ea28 -> ea547529c


HDFS-11272. Refine the assert messages in TestFSDirAttrOp. Contributed by Jimmy Xiang.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/ea547529
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/ea547529
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/ea547529

Branch: refs/heads/trunk
Commit: ea547529cb17c931a756ebffa6942f71f761ad13
Parents: 8f218ea
Author: Akira Ajisaka <aa...@apache.org>
Authored: Mon Dec 26 17:15:45 2016 +0900
Committer: Akira Ajisaka <aa...@apache.org>
Committed: Mon Dec 26 17:15:45 2016 +0900

----------------------------------------------------------------------
 .../hadoop/hdfs/server/namenode/TestFSDirAttrOp.java      | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/ea547529/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFSDirAttrOp.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFSDirAttrOp.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFSDirAttrOp.java
index 8cd68a1..44cf57a 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFSDirAttrOp.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFSDirAttrOp.java
@@ -52,25 +52,25 @@ public class TestFSDirAttrOp {
   @Test
   public void testUnprotectedSetTimes() throws Exception {
     // atime < access time + precision
-    assertFalse("SetTimes should not update access time"
+    assertFalse("SetTimes should not update access time "
           + "because it's within the last precision interval",
         unprotectedSetTimes(100, 0, 1000, -1, false));
 
     // atime = access time + precision
-    assertFalse("SetTimes should not update access time"
+    assertFalse("SetTimes should not update access time "
           + "because it's within the last precision interval",
         unprotectedSetTimes(1000, 0, 1000, -1, false));
 
     // atime > access time + precision
-    assertTrue("SetTimes should store access time",
+    assertTrue("SetTimes should update access time",
         unprotectedSetTimes(1011, 10, 1000, -1, false));
 
     // atime < access time + precision, but force is set
-    assertTrue("SetTimes should store access time",
+    assertTrue("SetTimes should update access time",
         unprotectedSetTimes(100, 0, 1000, -1, true));
 
     // atime < access time + precision, but mtime is set
-    assertTrue("SetTimes should store access time",
+    assertTrue("SetTimes should update access time",
         unprotectedSetTimes(100, 0, 1000, 1, false));
   }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org