nielsboecker / HoloRepository-Core

A system for transforming medical imaging studies into holograms, storing them in the cloud and providing them to other systems.
GNU Affero General Public License v3.0
6 stars 8 forks source link

PIPELINE: add testing for job controller and job state #89

Closed ansonwong9695 closed 5 years ago

nielsboecker commented 5 years ago

Update: Have been analysing some more and found the problem. It was actually that @ansonwong9695 you started a real job here:

def test_start_new_job():
    result_success, result_job_response = start_new_job(sample_job)

This job continued running, and in the course of subsequent tests, caused unexpected behaviour (due to the Accessor call not being mocked). The reason that only lung pipeline was affected is that the tests run in alphabetical order, and the other pipelines run before the jobs stuff. 💩

I will add a fix.