OpenSearch/test
Tanguy Leroux 28974b5723 Replace mocked client in GCSBlobStoreRepositoryTests by HTTP server (#46255)
This commit removes the usage of MockGoogleCloudStoragePlugin in
GoogleCloudStorageBlobStoreRepositoryTests and replaces it by a
HttpServer that emulates the Storage service. This allows the repository
tests to use the real Google's client under the hood in tests and will allow
us to test the behavior of the snapshot/restore feature for GCS repositories
by simulating random server-side internal errors.

The HTTP server used to emulate the Storage service is intentionally simple
and minimal to keep things understandable and maintainable. Testing full
client options on the server side (like authentication, chunked encoding
etc) remains the responsibility of the GoogleCloudStorageFixture.
2019-09-05 10:37:37 +02:00
..
fixtures fix and enable repository-hdfs secure tests (#44044) (#44199) 2019-07-12 12:44:01 +10:00
framework Replace mocked client in GCSBlobStoreRepositoryTests by HTTP server (#46255) 2019-09-05 10:37:37 +02:00
logger-usage JSON logging refactoring and X-Opaque-ID support backport(#41354) (#44178) 2019-07-12 16:53:27 +02:00
build.gradle MINOR: Remove some Deadcode in Gradle (#37160) 2019-01-07 09:21:25 +01:00