broadway icon indicating copy to clipboard operation
broadway copied to clipboard

Improve Testing

Open ayushr2 opened this issue 6 years ago • 0 comments

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)

ayushr2 avatar Feb 11 '19 08:02 ayushr2