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

Improve Testing #7

Open
ayushr2 opened this issue Feb 11, 2019 · 0 comments
Open

Improve Testing #7

ayushr2 opened this issue Feb 11, 2019 · 0 comments

Comments

@ayushr2
Copy link
Collaborator

ayushr2 commented Feb 11, 2019

Currently, the tests do not test the following:

  • The DB contents after jobs have been scheduled/executed or after courses are uploaded.
  • Worker node failure. We will have to mock the variable which decided how often the heartbeat validator runs and we can make the testing thread to sleep (after polling a job) and then check DB contents to assert that the job is marked as failed.
  • Worker node state (alive/dead)
@zhengyao-lin zhengyao-lin transferred this issue from illinois-cs241/broadway-api Sep 29, 2019
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