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

Test case TestOfflineImageViewer fails

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.3.1, 3.4.0
    • None

    Description

      The following 3 cases failed locally

      TestOfflineImageViewer#testWriterOutputEntryBuilderForFile

       

      org.junit.ComparisonFailure: org.junit.ComparisonFailure: Expected :/path/file,5,2000-01-01 00:00,2000-01-01 00:00,1024,3,3072,0,0,-rwx-wx-w-+,user_1,group_1Actual   :/path/file,5,2000-01-01 08:00,2000-01-01 08:00,1024,3,3072,0,0,-rwx-wx-w-+,user_1,group_1<Click to see difference>
      at org.junit.Assert.assertEquals(Assert.java:115) at org.junit.Assert.assertEquals(Assert.java:144) at org.apache.hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer.testWriterOutputEntryBuilderForFile(TestOfflineImageViewer.java:760)

      TestOfflineImageViewer#testWriterOutputEntryBuilderForDirectory

      org.junit.ComparisonFailure: org.junit.ComparisonFailure: Expected :/path/dir,0,2000-01-01 00:00,1970-01-01 00:00,0,0,0,700,1000,drwx-wx-w-+,user_1,group_1Actual   :/path/dir,0,2000-01-01 08:00,1970-01-01 08:00,0,0,0,700,1000,drwx-wx-w-+,user_1,group_1<Click to see difference> at org.junit.Assert.assertEquals(Assert.java:115) at org.junit.Assert.assertEquals(Assert.java:144) at org.apache.hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer.testWriterOutputEntryBuilderForDirectory(TestOfflineImageViewer.java:768)

      TestOfflineImageViewer#testWriterOutputEntryBuilderForSymlink

      
      org.junit.ComparisonFailure: org.junit.ComparisonFailure: Expected :/path/sym,0,2000-01-01 00:00,2000-01-01 00:00,0,0,0,0,0,-rwx-wx-w-,user_1,group_1Actual   :/path/sym,0,2000-01-01 08:00,2000-01-01 08:00,0,0,0,0,0,-rwx-wx-w-,user_1,group_1<Click to see difference> at org.junit.Assert.assertEquals(Assert.java:115) at org.junit.Assert.assertEquals(Assert.java:144) at org.apache.hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer.testWriterOutputEntryBuilderForSymlink(TestOfflineImageViewer.java:776)

      Attachments

        Issue Links

          Activity

            People

              ferhui Hui Fei
              ferhui Hui Fei
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m