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 functional tests for task manager's functionality #168870

Open
mikecote opened this issue Oct 13, 2023 · 1 comment
Open

Add functional tests for task manager's functionality #168870

mikecote opened this issue Oct 13, 2023 · 1 comment
Labels
Feature:Task Manager response-ops-ec-backlog ResponseOps E&C backlog Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)

Comments

@mikecote
Copy link
Contributor

Our current testing of Task Manager relies on the tests of downstream services like alerting and actions. Now that we discovered a way to have better control on the server code when running, I wonder how many basic tests we can add that would ensure all of Task Manager's functionality works as expected.

Example:

  • A recurring task gets rescheduled at X + interval after it runs successfully
  • A recurring task that fails gets rescheduled at X + interval after it throws an error
  • An ad-hoc task that fails gets re-attempted
  • An ad-hoc task on it's last attempt gets deleted if it fails on the last run
  • When an error is thrown during the polling cycle, Task Manager does X

The goal is to increase our level of confidence as we make future changes in Task Manager that we are not breaking functional requirements.

@mikecote mikecote added Feature:Task Manager Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) labels Oct 13, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Task Manager response-ops-ec-backlog ResponseOps E&C backlog Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
None yet
Development

No branches or pull requests

2 participants