Skip to content

Commit

Permalink
Troubleshoot permissions handling in GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Nov 28, 2024
1 parent b6b2b79 commit 99cb462
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_rmq.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,11 @@ def rmq_instance(request, tmp_path_factory):
rabbit_executor.start()

# Init RMQ config
rabbit_executor.rabbitctl_output("add_user", "test_llm_user", "test_llm_password")
rabbit_executor.rabbitctl_output("add_user", "test_llm_user",
"test_llm_password")
rabbit_executor.rabbitctl_output("add_vhost", "/llm")
rabbit_executor.rabbitctl_output("set_permissions_globally", "test_llm_user", ".*", ".*", ".*")
rabbit_executor.rabbitctl_output("set_permissions", "-p", "/llm",
"test_llm_user", ".*", ".*", ".*")
request.cls.rmq_instance = rabbit_executor


Expand Down

0 comments on commit 99cb462

Please sign in to comment.