Add tests for different queue types
mmacata opened this issue · 1 comments
mmacata commented
In #421 and #355 the queue was separated to allow an actinia worker to process the job independantely from the instance which received the job.
There are no tests for this yet as a different config is needed and a mechanism how to start the worker.
Tests would be needed for queue_type = per_job
and queue_type = per_user
.
It is also necessary to get rid of all the config overwrites inside the tests, e.g. for resource storage or redis database.
mmacata commented
Also check why i
- ACTINIA_CUSTOM_TEST_CFG and DEFAULT_CONFIG_PATH needs to be set to test config
- in the actinia-test.cfg the redis port needs to be set to default value, else 7000 is assumed.