Skip to content

Commit

Permalink
add fix for merlin server startup
Browse files Browse the repository at this point in the history
  • Loading branch information
bgunnar5 committed Nov 7, 2023
1 parent 8577ae5 commit f6c64f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ def redis_server(merlin_server_dir: str, redis_pass: str) -> str: # pylint: dis
"""
# Start the local redis server
try:
subprocess.run("merlin server start", shell=True, capture_output=True, text=True, timeout=5)
# Need to set LC_ALL='C' before starting the server or else redis causes a failure
subprocess.run("export LC_ALL='C'; merlin server start", shell=True, capture_output=True, text=True, timeout=5)
except subprocess.TimeoutExpired:
pass

Expand Down

0 comments on commit f6c64f8

Please sign in to comment.