adoroszlai commented on PR #6452:
URL: https://github.com/apache/ozone/pull/6452#issuecomment-2024487399

   Thanks @errose28, @mladjan-gadzic for the quick response.
   
   I plan to add S3A's implementation of Hadoop contract tests to CI in 
HDDS-8450, but it's not yet ready.  HDDS-10572 is required for speeding up the 
tests (maybe even fixing some).
   
   Until then, some partial results with the patch:
   
   ```
   Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.789 s - 
in org.apache.hadoop.fs.contract.s3a.ITestS3AContractGetFileStatus
   ```
   
   On current `master`:
   
   ```
   Tests run: 20, Failures: 6, Errors: 1, Skipped: 0, Time elapsed: 22.714 s 
<<< FAILURE! - in 
org.apache.hadoop.fs.contract.s3a.ITestS3AContractGetFileStatus
   
testListLocatedStatusFiltering(org.apache.hadoop.fs.contract.s3a.ITestS3AContractGetFileStatus)
  Time elapsed: 1.321 s  <<< ERROR!
   org.apache.hadoop.fs.FileAlreadyExistsException: 
s3a://fso-bucket/test/file-1.txt is a directory
   
   
testListLocatedStatusFile(org.apache.hadoop.fs.contract.s3a.ITestS3AContractGetFileStatus)
  Time elapsed: 0.753 s  <<< FAILURE!
   java.lang.AssertionError: size of file list returned expected:<1> but was:<0>
   
   
testListStatusFiltering(org.apache.hadoop.fs.contract.s3a.ITestS3AContractGetFileStatus)
  Time elapsed: 1.483 s  <<< FAILURE!
   java.lang.AssertionError: length of 
listStatus(s3a://fso-bucket/test/file-1.txt, 
org.apache.hadoop.fs.contract.AbstractContractGetFileStatusTest$AllPathsFilter@cfd1779
 ) [] expected:<1> but was:<0>
   
   
testListFilesFile(org.apache.hadoop.fs.contract.s3a.ITestS3AContractGetFileStatus)
  Time elapsed: 1.496 s  <<< FAILURE!
   java.lang.AssertionError: size of file list returned expected:<1> but was:<0>
   
   
testListStatusIteratorFile(org.apache.hadoop.fs.contract.s3a.ITestS3AContractGetFileStatus)
  Time elapsed: 0.618 s  <<< FAILURE!
   java.lang.AssertionError: 
   [size of file list returned using hasNext() and next() calls should be 1] 
   Expected size:<1> but was:<0> in:
   <[]>
   
   
testListStatusFile(org.apache.hadoop.fs.contract.s3a.ITestS3AContractGetFileStatus)
  Time elapsed: 1.239 s  <<< FAILURE!
   java.lang.AssertionError: expected:<1> but was:<0>
   
   
testListFilesFileRecursive(org.apache.hadoop.fs.contract.s3a.ITestS3AContractGetFileStatus)
  Time elapsed: 0.842 s  <<< FAILURE!
   java.lang.AssertionError: size of file list returned expected:<1> but was:<0>
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to