From 994ec15a89fd1a4efc0d7c2d1f0b7f9ca30b0783 Mon Sep 17 00:00:00 2001 From: robothy Date: Wed, 7 Aug 2024 23:13:33 +0800 Subject: [PATCH] fix test --- .../com/robothy/s3/test/MultipartUploadIntegrationTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local-s3-interationtest/src/test/java/com/robothy/s3/test/MultipartUploadIntegrationTest.java b/local-s3-interationtest/src/test/java/com/robothy/s3/test/MultipartUploadIntegrationTest.java index 3de4ab7..8d1a82b 100644 --- a/local-s3-interationtest/src/test/java/com/robothy/s3/test/MultipartUploadIntegrationTest.java +++ b/local-s3-interationtest/src/test/java/com/robothy/s3/test/MultipartUploadIntegrationTest.java @@ -107,7 +107,7 @@ void multipartUpload(AmazonS3 s3) throws IOException { Map userMetadata = object.getObjectMetadata().getUserMetadata(); assertEquals(2, userMetadata.size()); assertEquals("a.txt", userMetadata.get("x-filename")); - assertEquals("x-other", userMetadata.get("other-value")); + assertEquals("other-value", userMetadata.get("x-other")); assertThrows(AmazonS3Exception.class, () -> { s3.copyPart(new CopyPartRequest().withUploadId(initResult.getUploadId())