mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 04:22:03 +00:00
Fix tests
This commit is contained in:
parent
f85030f481
commit
dd34d316c5
@ -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();
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user