Skip to content

Commit

Permalink
workaround for flakiness of readiness
Browse files Browse the repository at this point in the history
Signed-off-by: clyang82 <[email protected]>
  • Loading branch information
clyang82 committed Jan 9, 2022
1 parent 584f38e commit 3206e1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/e2e/e2ethanos/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -853,6 +853,7 @@ func NewMinio(env e2e.Environment, name, bktName string) (*e2e.InstrumentedRunna
Command: e2e.NewCommandWithoutEntrypoint("sh", "-c", fmt.Sprintf(strings.Join(commands, " && "), minioKESGithubContent, minioKESGithubContent, bktName, 8090)),
//TODO(@clyang82): This is a temporary workaround for https://github.com/efficientgo/e2e/issues/9
//Readiness: e2e.NewHTTPReadinessProbe("http", "/minio/health/ready", 200, 200),
Readiness: e2e.NewCmdReadinessProbe(e2e.NewCommand("sh", "-c", "curl -k https://127.0.0.1:8090//minio/health/ready")),
EnvVars: map[string]string{
"MINIO_ACCESS_KEY": e2edb.MinioAccessKey,
"MINIO_SECRET_KEY": e2edb.MinioSecretKey,
Expand Down

0 comments on commit 3206e1c

Please sign in to comment.