GetTestPg17Container creates a PostgreSQL 17 container for testing, failing the test on error.
(ctx context.Context, t testing.TB)
| 198 | // GetTestPg17Container creates a PostgreSQL 17 container for testing, failing the |
| 199 | // test on error. |
| 200 | func GetTestPg17Container(ctx context.Context, t testing.TB) *Container { |
| 201 | t.Helper() |
| 202 | container, err := GetPg17Container(ctx) |
| 203 | if err != nil { |
| 204 | t.Fatalf("failed to create PostgreSQL 17 container: %v", err) |
| 205 | } |
| 206 | return container |
| 207 | } |
| 208 | |
| 209 | // GetOracleContainer creates an Oracle container for testing |
| 210 | func GetOracleContainer(ctx context.Context) (retC *Container, retErr error) { |