File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
rest/rest-sqs-testing-amazon-java-sdk/src/test/scala/org/elasticmq/rest/sqs Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1534,7 +1534,7 @@ class AmazonJavaSdkTestSuite extends SqsClientServerCommunication with Matchers
15341534 val queueUrl = cli.createQueue(new CreateQueueRequest (" testQueue1" )).getQueueUrl
15351535
15361536 // When
1537- cli.sendMessage(new SendMessageRequest (queueUrl, " x" * 262145 ))
1537+ cli.sendMessage(new SendMessageRequest (queueUrl, " x" * ( 1024 * 1024 + 1 ) ))
15381538 }
15391539 }
15401540
@@ -1546,8 +1546,8 @@ class AmazonJavaSdkTestSuite extends SqsClientServerCommunication with Matchers
15461546 // When
15471547 cli.sendMessageBatch(
15481548 new SendMessageBatchRequest (queueUrl).withEntries(
1549- new SendMessageBatchRequestEntry (" 1" , " x" * 140000 ),
1550- new SendMessageBatchRequestEntry (" 2" , " x" * 140000 )
1549+ new SendMessageBatchRequestEntry (" 1" , " x" * ( 1024 * 1024 ) ),
1550+ new SendMessageBatchRequestEntry (" 2" , " x" )
15511551 )
15521552 )
15531553 }
You can’t perform that action at this time.
0 commit comments