remove http from s3 multipart upload load scenario, protocol would be set in endpoint parameter
Some checks reported warnings
Some checks reported warnings
Signed-off-by: m.malygina <m.malygina@yadro.com>
This commit is contained in:
parent
26f5262b3d
commit
48a95bc50b
1 changed files with 3 additions and 1 deletions
|
@ -19,7 +19,9 @@ const summary_json = __ENV.SUMMARY_JSON || "/tmp/summary.json";
|
|||
// Select random S3 endpoint for current VU
|
||||
const s3_endpoints = __ENV.S3_ENDPOINTS.split(',');
|
||||
const s3_endpoint = s3_endpoints[Math.floor(Math.random() * s3_endpoints.length)];
|
||||
const s3_client = s3.connect(`http://${s3_endpoint}`);
|
||||
const no_verify_ssl = __ENV.NO_VERIFY_SSL || "true";
|
||||
const connection_args = {no_verify_ssl: no_verify_ssl}
|
||||
const s3_client = s3.connect(s3_endpoint, connection_args);
|
||||
const log = logging.new().withField("endpoint", s3_endpoint);
|
||||
|
||||
const registry_enabled = !!__ENV.REGISTRY_FILE;
|
||||
|
|
Loading…
Reference in a new issue