Skip to content

Commit

Permalink
[BUG] org.opensearch.repositories.s3.RepositoryS3ClientYamlTestSuiteI…
Browse files Browse the repository at this point in the history
…T/test {yaml=repository_s3/20_repository_permanent_credentials/Snapshot and Restore with repository-s3 using permanent credentials} flaky (#5325) (#5339)

Signed-off-by: Andriy Redko <[email protected]>

Signed-off-by: Andriy Redko <[email protected]>

Signed-off-by: Andriy Redko <[email protected]>
  • Loading branch information
reta authored Nov 22, 2022
1 parent f6800ea commit f3e2d7f
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 13 deletions.
2 changes: 1 addition & 1 deletion test/fixtures/minio-fixture/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM minio/minio:RELEASE.2019-01-23T23-18-58Z
FROM minio/minio:RELEASE.2022-11-17T23-20-09Z

ARG bucket
ARG accessKey
Expand Down
60 changes: 48 additions & 12 deletions test/fixtures/minio-fixture/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,21 @@ services:
accessKey: "access_key"
secretKey: "secret_key"
dockerfile: Dockerfile
ulimits:
nofile:
hard: 4096
soft: 4096
ports:
- "9000"
command: ["server", "/minio/data"]
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 30s
timeout: 20s
retries: 3
volumes:
- type: tmpfs
target: /minio/data
command: ["server", "--console-address", ":9001", "/minio/data"]
minio-fixture-other:
build:
context: .
Expand All @@ -21,15 +33,39 @@ services:
dockerfile: Dockerfile
ports:
- "9000"
command: ["server", "/minio/data"]
ulimits:
nofile:
hard: 4096
soft: 4096
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 30s
timeout: 20s
retries: 3
volumes:
- type: tmpfs
target: /minio/data
command: ["server", "--console-address", ":9001", "/minio/data"]
minio-fixture-for-snapshot-tool:
build:
context: .
args:
bucket: "bucket"
accessKey: "sn_tool_access_key"
secretKey: "sn_tool_secret_key"
dockerfile: Dockerfile
ports:
- "9000"
command: ["server", "/minio/data"]
build:
context: .
args:
bucket: "bucket"
accessKey: "sn_tool_access_key"
secretKey: "sn_tool_secret_key"
dockerfile: Dockerfile
ulimits:
nofile:
hard: 4096
soft: 4096
ports:
- "9000"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 30s
timeout: 20s
retries: 3
volumes:
- type: tmpfs
target: /minio/data
command: ["server", "--console-address", ":9001", "/minio/data"]

0 comments on commit f3e2d7f

Please sign in to comment.