-
Notifications
You must be signed in to change notification settings - Fork 202
Implement DLQ redrive actions #987
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
# Conflicts: # build.sbt
refactor test
core/src/main/scala/org/elasticmq/actor/queue/operations/MoveMessagesAsyncOps.scala
Show resolved
Hide resolved
...-sqs-testing-amazon-java-sdk/src/test/scala/org/elasticmq/rest/sqs/MessageMoveTaskTest.scala
Show resolved
Hide resolved
mostr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few minor comments as I'm quite new to this code
|
|
||
| // then: ensure that not all messages were moved back to the original queue after 2 seconds | ||
| Thread.sleep(2000) | ||
| fetchApproximateNumberOfMessages(queue) should (be > 1 and be < 6) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't that be max 2 and the former one min 4?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only if the message move jobs starts immediately, which I'm not sure is guaranteed in the environments like the Github Actions provide (fractions of CPU core)
...-sqs-testing-amazon-java-sdk/src/test/scala/org/elasticmq/rest/sqs/MessageMoveTaskTest.scala
Show resolved
Hide resolved
# Conflicts: # rest/rest-sqs/src/main/scala/org/elasticmq/rest/sqs/SQSRestServerBuilder.scala
closes #858