-
Notifications
You must be signed in to change notification settings - Fork 797
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove test_private_bucket
object_store test
#6601
Conversation
object_store/src/aws/resolve.rs
Outdated
@@ -80,13 +80,13 @@ mod tests { | |||
|
|||
#[tokio::test] | |||
async fn test_private_bucket() { | |||
let bucket = "bloxbender"; | |||
let bucket = "public-datasets"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the test is called private-bucket
but then uses no authentication. I don't know what to make of this.
Maybe @tustvold remembers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC it was a test to make sure resolve_region worked for private buckets without needing credentials.
I think we can probably just remove this test, its effectively just testing a behaviour of S3 which isn't going to change |
removed in 46a8e0a |
@@ -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() { |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done. Thank you
test_private_bucket
object_store testtest_private_bucket
object_store test
* Fix `test_private_bucket` test * remove test
* Fix `test_private_bucket` test * remove test
Which issue does this PR close?
Closes #6600
Rationale for this change
The test is failing on main
I think it is due to whatever the
bloxblender
s3 bucket being movedWhat changes are included in this PR?
Remove the test as it is testing some behavior of S3 (see @tustvold 's comment below)
Are there any user-facing changes?
No this is a test only