mehakmeet commented on pull request #2706:
URL: https://github.com/apache/hadoop/pull/2706#issuecomment-783336386


   Added the "UNENCRYPTED_CONTENT_LENGTH" header in getFileStatus calls and 
replaced the content length with it if client-side encryption(CSE) is enabled. 
This helped pass the initial set of tests for all methods of CSE, but after 
adding a "Directory Listing" test to check the content lengths of files of 
different sizes, it broke:
   
   ```
   [INFO] Results:
   [INFO]
   [ERROR] Failures:
   [ERROR]   
ITestS3AEncryptionCSESymmetric>ITestS3AEncryptionCSE.testDirectoryListingFileLengths:105
 [File length isn't same as expected from directory listing]
   Expecting:
     <[16, 17, 271, 4111]>
   to contain exactly in any order:
     <[0, 1, 255, 4095]>
   elements not found:
     <[0, 1, 255, 4095]>
   and elements not expected:
     <[16, 17, 271, 4111]>
   
   [INFO]
   [ERROR] Tests run: 3, Failures: 1, Errors: 0, Skipped: 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.

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