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

Add tests for different queue types #422

Open
mmacata opened this issue May 3, 2023 · 1 comment
Open

Add tests for different queue types #422

mmacata opened this issue May 3, 2023 · 1 comment

Comments

@mmacata
Copy link
Member

mmacata commented May 3, 2023

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
Copy link
Member Author

mmacata commented Oct 26, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants