OpenSearch/plugins/repository-s3
Tanguy Leroux a3d918bddb Refactor RepositoryCredentialsTests (#45919)
This commit refactors the S3 credentials tests in
RepositoryCredentialsTests so that it now uses a single
node (ESSingleNodeTestCase) to test how secure/insecure
credentials are overriding each other. Using a single node
makes it much easier to understand what each test is actually
testing and IMO better reflect how things are initialized.

It also allows to fold into this class the test
testInsecureRepositoryCredentials which was wrongly located
in S3BlobStoreRepositoryTests. By moving this test away, the
S3BlobStoreRepositoryTests class does not need the
allow_insecure_settings option anymore and thus can be
executed as part of the usual gradle test task.
2019-08-26 15:14:43 +02:00
..
config/repository-s3
licenses Remove Unused AWS KMS Dependency (#43671) (#43679) 2019-06-27 16:51:11 +02:00
src Refactor RepositoryCredentialsTests (#45919) 2019-08-26 15:14:43 +02:00
build.gradle Refactor RepositoryCredentialsTests (#45919) 2019-08-26 15:14:43 +02:00
docker-compose.yml Make sure the clean task doesn't break test fixtures (#43641) 2019-07-08 17:58:27 +03:00