hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8810) Correct assertions in TestDFSInotifyEventInputStream class.
Date Mon, 27 Jul 2015 15:39:05 GMT

    [ https://issues.apache.org/jira/browse/HDFS-8810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14642885#comment-14642885
] 

Hudson commented on HDFS-8810:
------------------------------

SUCCESS: Integrated in Hadoop-Mapreduce-trunk #2215 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2215/])
HDFS-8810. Correct assertions in TestDFSInotifyEventInputStream class. Contributed by Surendra
Singh Lilhore. (aajisaka: rev 1df78688c69476f89d16f93bc74a4f05d0b1a3da)
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSInotifyEventInputStream.java


> Correct assertions in TestDFSInotifyEventInputStream class.
> -----------------------------------------------------------
>
>                 Key: HDFS-8810
>                 URL: https://issues.apache.org/jira/browse/HDFS-8810
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.6.0, 2.7.1
>            Reporter: Surendra Singh Lilhore
>            Assignee: Surendra Singh Lilhore
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: HDFS-8810.patch
>
>
> Some assertions are wrong in the test. Here is an example.
> {code}
>     Assert.assertTrue(batch.getEvents()[0].getEventType() == Event.EventType.RENAME);
>       Event.RenameEvent re3 = (Event.RenameEvent) batch.getEvents()[0];
>       Assert.assertTrue(re3.getDstPath().equals("/dir/file5"));
>       Assert.assertTrue(re3.getSrcPath().equals("/file5"));
>       Assert.assertTrue(re.getTimestamp() > 0);
> {code}
> https://issues.apache.org/jira/browse/HDFS-8735?focusedCommentId=14636571&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14636571



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message