GetTestOracleContainer is a helper function for tests that creates an Oracle container and handles the error by failing the test if container creation fails
(ctx context.Context, t testing.TB)
| 268 | // GetTestOracleContainer is a helper function for tests that creates an Oracle container |
| 269 | // and handles the error by failing the test if container creation fails |
| 270 | func GetTestOracleContainer(ctx context.Context, t testing.TB) *Container { |
| 271 | t.Helper() |
| 272 | container, err := GetOracleContainer(ctx) |
| 273 | if err != nil { |
| 274 | t.Fatalf("failed to create Oracle container: %v", err) |
| 275 | } |
| 276 | return container |
| 277 | } |
| 278 | |
| 279 | // GetStarRocksContainer creates a StarRocks (allin1) container for testing. The allin1 |
| 280 | // image bundles the FE and BE; information_schema is served by the BE, so this waits until |