Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14486

TestSFTPFileSystem#testGetAccessTime test failure using openJDK 1.8.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha4
    • 2.9.0, 3.0.0-alpha4
    • fs
    • None
    • Ubuntu 14.04
      x86, ppc64le
      $ java -version
      openjdk version "1.8.0_111"
      OpenJDK Runtime Environment (build 1.8.0_111-8u111-b14-3~14.04.1-b14)
      OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode)

    Description

      The TestSFTPFileSystem#testGetAccessTime test fails consistently with the error below:

      java.lang.AssertionError: expected:<1496496040072> but was:<1496496040000>
      	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.sftp.TestSFTPFileSystem.testGetAccessTime(TestSFTPFileSystem.java:319)
      

      Attachments

        1. HADOOP-14486-001.patch
          0.9 kB
          Hongyuan Li
        2. HADOOP-14486-002.patch
          0.9 kB
          Hongyuan Li

        Issue Links

          Activity

            People

              Hongyuan Li Hongyuan Li
              Sonia Sonia Garudi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: