Skip to content

Conversation

@alamb
Copy link
Contributor

@alamb alamb commented Oct 20, 2024

Which issue does this PR close?

Closes apache/arrow-rs-object-store#42

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

#[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

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
alamb added a commit to alamb/arrow-rs that referenced this pull request Mar 20, 2025
* 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

None yet

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