Skip to content

Commit ea38816

Browse files
committed
Fix some more tests
1 parent bab9c14 commit ea38816

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rest/rest-sqs-testing-amazon-java-sdk/src/test/scala/org/elasticmq/rest/sqs/AmazonJavaSdkTestSuite.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)