Skip to content

Commit 751f92e

Browse files
committed
Fix last test
1 parent 3f07930 commit 751f92e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/repository-s3/src/test/java/org/elasticsearch/repositories/s3/S3RepositoryTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ public void testInvalidChunkBufferSizeSettings() throws IOException {
7070
assertValidBuffer(5, 5);
7171
// buffer < 5mb should fail
7272
assertInvalidBuffer(4, 10, IllegalArgumentException.class,
73-
"Failed to parse value [4mb] for setting [buffer_size] must be >= 5mb");
73+
"failed to parse value [4mb] for setting [buffer_size], must be >= [5mb]");
7474
// chunk > 5tb should fail
7575
assertInvalidBuffer(5, 6000000, IllegalArgumentException.class,
76-
"Failed to parse value [6000000mb] for setting [chunk_size] must be <= 5tb");
76+
"failed to parse value [6000000mb] for setting [chunk_size], must be <= [5tb]");
7777
}
7878

7979
private void assertValidBuffer(long bufferMB, long chunkMB) throws IOException {

0 commit comments

Comments
 (0)