Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import fixture.s3.S3HttpFixture;

import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.common.unit.ByteSizeValue;
import org.elasticsearch.test.cluster.ElasticsearchCluster;
import org.elasticsearch.test.cluster.local.distribution.DistributionType;
import org.junit.ClassRule;
Expand Down Expand Up @@ -59,6 +60,7 @@ protected Settings repositorySettings() {
.put("bucket", bucket)
.put("base_path", basePath)
.put("delete_objects_max_size", between(1, 1000))
.put("buffer_size", ByteSizeValue.ofMb(5)) // so some uploads are multipart ones
.build();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public void testRepositoryAnalysis() throws Exception {
final Request request = new Request(HttpPost.METHOD_NAME, "/_snapshot/" + repository + "/_analyze");
request.addParameter("blob_count", "10");
request.addParameter("concurrency", "4");
request.addParameter("max_blob_size", "1mb");
request.addParameter("max_blob_size", randomFrom("1mb", "10mb"));
request.addParameter("timeout", "120s");
request.addParameter("seed", Long.toString(randomLong()));
assertOK(client().performRequest(request));
Expand Down