Skip to content

Commit

Permalink
✅ localstack replies with aws-chunked content encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
Croway committed Dec 5, 2023
1 parent a40f413 commit 80ddbef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class BaseS3 {
protected ProducerTemplate template;

@RegisterExtension
public static AWSService service = AWSServiceFactory.createDynamodbService();
public static AWSService service = AWSServiceFactory.createS3Service();

@RegisterExtension
public static SharedNameGenerator sharedNameGenerator = new TestEntityNameGenerator();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ private void assertResultExchange(Exchange resultExchange) {
// bucket
assertNotNull(resultExchange.getIn().getHeader(AWS2S3Constants.LAST_MODIFIED));
assertEquals("application/octet-stream", resultExchange.getIn().getHeader(AWS2S3Constants.CONTENT_TYPE));
assertNull(resultExchange.getIn().getHeader(AWS2S3Constants.CONTENT_ENCODING));
assertEquals(26L, resultExchange.getIn().getHeader(AWS2S3Constants.CONTENT_LENGTH));
assertNull(resultExchange.getIn().getHeader(AWS2S3Constants.CONTENT_DISPOSITION));
assertNull(resultExchange.getIn().getHeader(AWS2S3Constants.CONTENT_MD5));
Expand Down

0 comments on commit 80ddbef

Please sign in to comment.