Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions object_store/src/aws/resolve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,19 +78,6 @@ pub async fn resolve_bucket_region(bucket: &str, client_options: &ClientOptions)
mod tests {
use super::*;

#[tokio::test]
async fn test_private_bucket() {
Copy link
Member

Choose a reason for hiding this comment

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

the PR description says "Fix test_private_bucket object_store test"
and "Change to use another s3 bucket"

let's maybe update both before merge

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done. Thank you

let bucket = "bloxbender";

let region = resolve_bucket_region(bucket, &ClientOptions::new())
.await
.unwrap();

let expected = "us-west-2".to_string();

assert_eq!(region, expected);
}

#[tokio::test]
async fn test_bucket_does_not_exist() {
let bucket = "please-dont-exist";
Expand Down
Loading