1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-03 13:11:48 +02:00

fix: make minio based tests run locally again (#1776)

This commit is contained in:
Chris Salch 2020-08-30 08:13:12 -05:00 committed by GitHub
parent 37b2f42b93
commit 4f7d127859
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -272,7 +272,8 @@ func start(t *testing.T, name, listen string) {
"-e", "MINIO_ACCESS_KEY=minio",
"-e", "MINIO_SECRET_KEY=miniostorage",
"--health-interval", "1s",
"minio/minio:RELEASE.2019-05-14T23-57-45Z",
"--health-cmd=curl --silent --fail http://localhost:9000/minio/health/ready || exit 1",
"minio/minio",
"server", "/data",
).CombinedOutput(); err != nil {
t.Fatalf("failed to start minio: %s", string(out))