diff --git a/integration/integration.go b/integration/integration.go index 2d7510a..a1a2dc3 100644 --- a/integration/integration.go +++ b/integration/integration.go @@ -111,15 +111,14 @@ func minioSetup(ctx context.Context) (string, string, string, string, string, fu log.Fatalf("failed to start container: %s", err) } - - minioEndpoint, err := minioContainer.ConnectionString(ctx) + minioPort, err := minioContainer.MappedPort(ctx, "9000/tcp") if err != nil { - log.Fatalf("failed to get connection string: %s", err) + log.Fatalf("failed to get mapped port: %s", err) } - - minioEndpoint = "http://" + minioEndpoint + + minioEndpoint := "http://127.0.0.1:" + minioPort.Port() minioUsername, minioPassword := minioContainer.Username, minioContainer.Password - + // We could do this by adding to the ctlog.Bucket, but this will never be used otherwise bucketName := "testbucket" bucketRegion := "us-east-1"