albogdano commented on PR #13949: URL: https://github.com/apache/lucene/pull/13949#issuecomment-2495524936
I refactored the code and got rid of the AWS SDK in favor of the minimal S3 Client [aws-lightweight-client-java](https://github.com/davidmoten/aws-lightweight-client-java). Also, I added an S3 mocking library - [S3Mock](https://github.com/adobe/S3Mock) but it requires additional security permissions and I suppose `tests.policy` has to be modified. Otherwise, this `Directory` implementation passes most of the tests in `BaseDirectoryTestCase` except for these four: - `testPrefetchOnSlice` (:lucene:s3directory) - `testCopyBytes` (:lucene:s3directory) - `testPrefetch` (:lucene:s3directory) - `testCopyBytesWithThreads` (:lucene:s3directory) I couldn't figure out why that is the case and I would be grateful if anyone could give me some pointers here. -- 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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org