Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-12010

TestCopyPreserveFlag fails consistently because of mismatch in access time

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha4
    • hdfs, test
    • Reviewed

    Description

      TestCopyPreserveFlag fails consistently because of mismatch in access time with the following stack trace.

      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)
      

      Attachments

        1. HDFS-12010.001.patch
          0.9 kB
          Mukul Kumar Singh

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            msingh Mukul Kumar Singh
            msingh Mukul Kumar Singh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment