Skip to content

SOLR-15658: First pass of testing with findify/s3mock#314

Closed
HoustonPutman wants to merge 1 commit intoapache:mainfrom
HoustonPutman:new-s3-mock
Closed

SOLR-15658: First pass of testing with findify/s3mock#314
HoustonPutman wants to merge 1 commit intoapache:mainfrom
HoustonPutman:new-s3-mock

Conversation

@HoustonPutman
Copy link
Contributor

https://issues.apache.org/jira/browse/SOLR-15658

Still very much a work in progress.

There are two tests that will fail consistently:

  • S3BackupRepositoryTest.testCanListFullOrEmptyDirectories
  • S3IncrementalBackupTest.testBackupIncremental

The rest of the tests are either the same speed or much faster than using adobe/S3Mock, except for the following which take 30s each, for no discernible reason:

  • S3BackupRepositoryTest.testBackwardRandomAccess
  • S3BackupRepositoryTest.testCopyFiles
  • S3BackupRepositoryTest.testRandomAccessInput

This s3Mock also requires that directory paths end in / for all operations including reads, which AWS S3 does not require. Some code had to be changed for this.

I still also need to remove the Old S3 Mock from the codebase.

@risdenk
Copy link
Contributor

risdenk commented Oct 27, 2022

I'm a little worried that findify/s3mock hasn't been updated in >3 years now. Might be worth looking at something else...

@risdenk risdenk closed this Oct 27, 2022
@HoustonPutman HoustonPutman deleted the new-s3-mock branch October 27, 2022 18:58
@HoustonPutman
Copy link
Contributor Author

Fair enough, good point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants