Skip to content

Commit

Permalink
fix: add missing region for test
Browse files Browse the repository at this point in the history
  • Loading branch information
timvw committed Mar 27, 2024
1 parent 6ee7d96 commit 310866c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 0 additions & 5 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ fn init_s3_operator_via_builder(url: &Url) -> Result<Operator> {
let bucket_name = url.host_str().unwrap();
builder.bucket(bucket_name);

// export AWS_REGION=eu-central-1
// export AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE
// export AWS_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
// export AWS_ENDPOINT_URL=http://localhost:9000

//https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html

if let Ok(aws_endpoint_url) = env::var("AWS_ENDPOINT_URL") {
Expand Down
1 change: 1 addition & 0 deletions tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ async fn run_with_local_parquet_files_in_folder() -> datafusion::common::Result<
}

fn configure_minio() {
env::set_var("AWS_REGION", "eu-central-1");
env::set_var("AWS_ACCESS_KEY_ID", "AKIAIOSFODNN7EXAMPLE");
env::set_var(
"AWS_SECRET_ACCESS_KEY",
Expand Down

0 comments on commit 310866c

Please sign in to comment.