Skip to content

Commit b575d9a

Browse files
committed
retry with settings in the right place
1 parent aa0cf78 commit b575d9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/repository-s3/src/internalClusterTest/java/org/elasticsearch/repositories/s3/S3RepositoryThirdPartyTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,15 @@ protected Settings nodeSettings() {
102102
TimeValue.timeValueMillis(randomLongBetween(defaultMillis, defaultMillis * 2))
103103
);
104104
}
105-
settings.put(S3Repository.BUFFER_SIZE_SETTING.getKey(), S3Repository.MIN_PART_SIZE_USING_MULTIPART);
106105
return settings.build();
107106
}
108107

109108
@Override
110109
protected void createRepository(String repoName) {
111110
Settings.Builder settings = Settings.builder()
112111
.put("bucket", System.getProperty("test.s3.bucket"))
113-
.put("base_path", System.getProperty("test.s3.base", "testpath"));
112+
.put("base_path", System.getProperty("test.s3.base", "testpath"))
113+
.put("buffer_size", S3Repository.MIN_PART_SIZE_USING_MULTIPART);
114114
final String endpoint = USE_FIXTURE ? minio.getAddress() : System.getProperty("test.s3.endpoint");
115115
if (endpoint != null) {
116116
settings.put("endpoint", endpoint);

0 commit comments

Comments
 (0)