Skip to content
7 changes: 7 additions & 0 deletions datafusion-cli/tests/cli_integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ fn make_settings() -> Settings {
settings
}

/// Registry override for the image pinned by `testcontainers-modules`.
///
/// MinIO withdrew `minio/minio` from Docker Hub on 2026-09-11. quay.io still

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: this is a patch we carry or else tests couldn't run.

/// serves the same tags. Backport of apache/datafusion#25216.
const MINIO_IMAGE_NAME: &str = "quay.io/minio/minio";

async fn setup_minio_container() -> ContainerAsync<minio::MinIO> {
const MINIO_ROOT_USER: &str = "TEST-DataFusionLogin";
const MINIO_ROOT_PASSWORD: &str = "TEST-DataFusionPassword";
Expand All @@ -56,6 +62,7 @@ async fn setup_minio_container() -> ContainerAsync<minio::MinIO> {
.expect("Failed to get absolute path for test data");

let container = minio::MinIO::default()
.with_name(MINIO_IMAGE_NAME)
.with_env_var("MINIO_ROOT_USER", MINIO_ROOT_USER)
.with_env_var("MINIO_ROOT_PASSWORD", MINIO_ROOT_PASSWORD)
.with_mount(Mount::bind_mount(
Expand Down
Loading
Loading