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

Make default value for vfs.s3.region in test conditional #2086

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

kounelisagis
Copy link
Member

@kounelisagis kounelisagis commented Oct 11, 2024

Following TileDB-Inc/TileDB#5317, the default value of vfs.s3.region has been changed to empty. This change allows AWS to select the default region from sources such as environment variables, profile configuration, and instance metadata.

This PR modifies some assertions that check the default value of vfs.s3.region when related environment variables are present.

Should fix the related error in TileDB-Inc/centralized-tiledb-nightlies#24
cc @jdblischak

Copy link
Member

@teo-tsirpanis teo-tsirpanis left a comment

Choose a reason for hiding this comment

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

This test is too reliant on the Core's implementation details to IMHO include in the Python API's test suite. It should be moved to the Core and removed from here.

tiledb/tests/test_fixes.py Outdated Show resolved Hide resolved
@kounelisagis kounelisagis changed the title [2.27.0] Update test assertions related to vfs.s3.region Make default value for vfs.s3.region in test conditional Oct 16, 2024
@kounelisagis kounelisagis merged commit dcef155 into dev Oct 16, 2024
15 checks passed
@kounelisagis kounelisagis deleted the agis/aws-default-region branch October 16, 2024 09:49
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.

3 participants