(t *testing.T)
| 365 | } |
| 366 | |
| 367 | func (c *minioInstance) ConnectionString(t *testing.T) string { |
| 368 | ctx, cancel := context.WithTimeout(context.Background(), time.Minute) |
| 369 | defer cancel() |
| 370 | p, err := c.instance.MappedPort(ctx, "9000") |
| 371 | assert.NoError(t, err) |
| 372 | |
| 373 | return fmt.Sprintf("0.0.0.0:%d", p.Num()) |
| 374 | } |
| 375 | |
| 376 | type minioInstance struct { |
| 377 | instance testcontainers.Container |
no outgoing calls
no test coverage detected