Skip to content
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

Add integration test for retry + dlq tasks #78

Open
markstory opened this issue Dec 6, 2024 · 0 comments
Open

Add integration test for retry + dlq tasks #78

markstory opened this issue Dec 6, 2024 · 0 comments

Comments

@markstory
Copy link
Member

We should have an end-to-end test that covers task consumption and completion with retries and deadletter queues with a lightweight 'worker'.

  • Clone TaskworkerClient into the taskbroker or leverage the work done in Add integration test for basic task processing #77
  • Append a known number of activations with retry configuration, and deadletter configuration.
  • Process tasks with one or more clients. Each task should 'fail' and be marked as a retry or failure.
  • process all tasks until retries are exhausted counting the number of tasks executed
  • Ensure that total tasks executed is equal to number of tasks * retry attempts.
  • Ensure that the correct number of tasks were appended to the DLQ topic.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant