hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-12010) TestCopyPreserveFlag fails consistently because of mismatch in access time
Date Thu, 22 Jun 2017 22:45:00 GMT

     [ https://issues.apache.org/jira/browse/HDFS-12010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Arpit Agarwal updated HDFS-12010:
---------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 3.0.0-alpha4
                   2.9.0
           Status: Resolved  (was: Patch Available)

+1, the change makes sense.

I've committed this. Thanks for the contribution [~msingh] and thanks for the review [~hanishakoneru].

> TestCopyPreserveFlag fails consistently because of mismatch in access time
> --------------------------------------------------------------------------
>
>                 Key: HDFS-12010
>                 URL: https://issues.apache.org/jira/browse/HDFS-12010
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs, test
>            Reporter: Mukul Kumar Singh
>            Assignee: Mukul Kumar Singh
>              Labels: test
>             Fix For: 2.9.0, 3.0.0-alpha4
>
>         Attachments: HDFS-12010.001.patch
>
>
> TestCopyPreserveFlag fails consistently because of mismatch in access time with the following
stack trace.
> {code}
> java.lang.AssertionError: expected:<23456000> but was:<1498112054000>
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.failNotEquals(Assert.java:743)
> 	at org.junit.Assert.assertEquals(Assert.java:118)
> 	at org.junit.Assert.assertEquals(Assert.java:555)
> 	at org.junit.Assert.assertEquals(Assert.java:542)
> 	at org.apache.hadoop.fs.shell.TestCopyPreserveFlag.assertAttributesPreserved(TestCopyPreserveFlag.java:94)
> 	at org.apache.hadoop.fs.shell.TestCopyPreserveFlag.testPutWithP(TestCopyPreserveFlag.java:113)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message