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 basic task processing #77

Closed
markstory opened this issue Dec 6, 2024 · 0 comments · Fixed by #100
Closed

Add integration test for basic task processing #77

markstory opened this issue Dec 6, 2024 · 0 comments · Fixed by #100
Assignees

Comments

@markstory
Copy link
Member

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

  • Clone TaskworkerClient into the taskbroker
  • Add a fixed number of tasks to kafka
  • start up taskbroker consumer/grpc
  • Use one or more TaskworkerClient instances to fetch and 'complete' tasks.

We should be able to count the number of task activations that were created, fetched and completed. If the totals differ we've lost tasks, or double executed tasks.

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

Successfully merging a pull request may close this issue.

2 participants