Fix tests

This commit is contained in:
kssenii 2024-05-30 16:54:11 +02:00
parent f85030f481
commit dd34d316c5
2 changed files with 2 additions and 2 deletions

View File

@ -547,7 +547,7 @@ public:
std::unique_ptr<WriteBufferFromS3> getWriteBuffer(String file_name = "file")
{
S3::RequestSettings request_settings;
request_settings.updateFromSettings(settings, /* if_changed */true);
request_settings.updateFromSettings(settings, /* if_changed */true, /* validate_settings */false);
client->resetCounters();

View File

@ -108,7 +108,7 @@ ObjectStoragePtr StorageS3Configuration::createObjectStorage(ContextPtr context,
const auto & settings = context->getSettingsRef();
auto s3_settings = getSettings(
config, "s3"/* config_prefix */, context, url.endpoint, settings.s3_validate_request_settings);
config, "s3"/* config_prefix */, context, url.uri_str, settings.s3_validate_request_settings);
s3_settings->auth_settings.updateIfChanged(auth_settings);
s3_settings->request_settings.updateIfChanged(request_settings);