Skip to content
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

Merged
merged 3 commits into from
Oct 20, 2024

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Oct 20, 2024

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 moved

What 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

@github-actions github-actions bot added the object-store Object Store Interface label Oct 20, 2024
@@ -80,13 +80,13 @@ mod tests {

#[tokio::test]
async fn test_private_bucket() {
let bucket = "bloxbender";
let bucket = "public-datasets";
Copy link
Contributor Author

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

Copy link
Contributor

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.

@tustvold
Copy link
Contributor

I think we can probably just remove this test, its effectively just testing a behaviour of S3 which isn't going to change

@alamb
Copy link
Contributor Author

alamb commented Oct 20, 2024

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() {
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

@alamb alamb changed the title Fix test_private_bucket object_store test Remove test_private_bucket object_store test Oct 20, 2024
@alamb alamb merged commit 07aaaf9 into apache:master Oct 20, 2024
16 checks passed
findepi pushed a commit to sdf-labs/arrow-rs that referenced this pull request Oct 31, 2024
* Fix `test_private_bucket` test

* remove test
findepi pushed a commit to sdf-labs/arrow-rs that referenced this pull request Oct 31, 2024
* Fix `test_private_bucket` test

* remove test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
object-store Object Store Interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

object_store test_private_bucket fails - store: "S3", source: BucketNotFound { bucket: "bloxbender" }
4 participants