Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-8423 S3 API compatibility improvements and fixes
  3. HDDS-10617

Unexpected number of files in ITestS3AContractGetFileStatusV1List

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • S3

    Description

      Tests run: 20, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.026 s <<< FAILURE! - in org.apache.hadoop.fs.s3a.ITestS3AContractGetFileStatusV1List
      testComplexDirActions(org.apache.hadoop.fs.s3a.ITestS3AContractGetFileStatusV1List)  Time elapsed: 0.967 s  <<< FAILURE!
      java.lang.AssertionError: 
      listStatus(): directory count in 6 directories and 4 files
      Files:
        "s3a://obs-bucket/test/testComplexDirActions/dir-0-0000
        "s3a://obs-bucket/test/testComplexDirActions/dir-0-0000
        "s3a://obs-bucket/test/testComplexDirActions/dir-0-0001
        "s3a://obs-bucket/test/testComplexDirActions/dir-0-0001
        "s3a://obs-bucket/test/testComplexDirActions/dir-0-0002
        "s3a://obs-bucket/test/testComplexDirActions/dir-0-0002
      Directories:
        "s3a://obs-bucket/test/testComplexDirActions/file--0-0000.txt
        "s3a://obs-bucket/test/testComplexDirActions/file--0-0001.txt
        "s3a://obs-bucket/test/testComplexDirActions/file--0-0002.txt
        "s3a://obs-bucket/test/testComplexDirActions/file--0-0003.txt expected:<3> but was:<6>
      	at org.junit.Assert.fail(Assert.java:89)
      	at org.junit.Assert.failNotEquals(Assert.java:835)
      	at org.junit.Assert.assertEquals(Assert.java:647)
      	at org.apache.hadoop.fs.contract.ContractTestUtils$TreeScanResults.assertSizeEquals(ContractTestUtils.java:1891)
      	at org.apache.hadoop.fs.contract.AbstractContractGetFileStatusTest.checkListStatusStatusComplexDir(AbstractContractGetFileStatusTest.java:172)
      	at org.apache.hadoop.fs.contract.AbstractContractGetFileStatusTest.testComplexDirActions(AbstractContractGetFileStatusTest.java:152)
      

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: