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

Expose request database weaknesses in unit tests #600

Open
huard opened this issue Apr 22, 2021 · 0 comments
Open

Expose request database weaknesses in unit tests #600

huard opened this issue Apr 22, 2021 · 0 comments

Comments

@huard
Copy link
Collaborator

huard commented Apr 22, 2021

Description

#493 highlights some weaknesses of the request queue logic. For example, stalled processes are never cleaned-up.

It would be useful to create a few unit tests that expose the problems discussed in #493 before implementing solutions.

For example, we could create a few dummy processes:

  • completes after x second
  • fails after x second
  • hangs forever

Then launch these processes in different order and inspect the request database to see how it behaves.

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