Skip to content

Commit

Permalink
fix redis settings for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
anikaweinmann committed Aug 30, 2023
1 parent 1a04a29 commit bd2b9c3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docker/actinia-core-tests/actinia-test-noauth.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ process_num_limit = 20

[REDIS]
worker_logfile = /actinia_core/workspace/tmp/actinia_worker_test.log
redis_server_url = localhost
redis_server_port = 6379

[LOGGING]
log_level = 1
Expand Down
2 changes: 2 additions & 0 deletions docker/actinia-core-tests/actinia-test.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ process_num_limit = 20

[REDIS]
worker_logfile = /actinia_core/workspace/tmp/actinia_worker_test.log
redis_server_url = localhost
redis_server_port = 6379

[LOGGING]
log_level = 1
Expand Down
1 change: 0 additions & 1 deletion tests/test_common_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ class CommonTestCaseBase(unittest.TestCase):
def setUpClass(cls):
if custom_actinia_cfg is not False:
global_config.read(custom_actinia_cfg)
print(global_config)
else:
global_config.REDIS_SERVER_URL = "localhost"
global_config.REDIS_SERVER_PORT = 7000
Expand Down

0 comments on commit bd2b9c3

Please sign in to comment.