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
4 changes: 4 additions & 0 deletions test/support/src/vfs_helpers.cc
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,10 @@ Status SupportedFsS3::prepare_config(
[[maybe_unused]] tiledb_config_t* config,
[[maybe_unused]] tiledb_error_t* error) {
#ifndef TILEDB_TESTS_AWS_S3_CONFIG
if (rest_) {
Copy link
Member

Choose a reason for hiding this comment

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

Could we set tiledb_tests_aws_s3_config in build-libtiledb.sh on the internal repository when we bootstrap the core build? Either way SGTM so approved, but the ifndef above seems like it could accomplish this

Copy link
Member Author

Choose a reason for hiding this comment

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

We could, but it is misleading, since we don't actually test on Amazon S3. I would like us eventually to entirely remove VFS configuration from test code, and rely on environment variables.

// REST CI gets configured by environment variables.
return Status::Ok();
}
REQUIRE(
tiledb_config_set(
config, "vfs.s3.endpoint_override", "localhost:9999", &error) ==
Expand Down
Loading