Skip to content

Commit

Permalink
Add LC_MESSAGES_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
cataphract committed May 22, 2024
1 parent 5628458 commit 9bc83b3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions utils/_context/containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ def execute_command(self, test, retries=10, interval=1_000_000_000, start_period
return

except APIError as e:
logger.debug(f"Try #{i} failed for {self._container.name}: {e.explanation}")
logger.exception(f"Try #{i} failed for {self._container.name}: {e.explanation}")
break

except Exception as e:
logger.debug(f"Try #{i}: {e}")
Expand Down Expand Up @@ -670,7 +671,8 @@ def __init__(self, host_log_folder) -> None:
super().__init__(
image_name="mysql/mysql-server:latest",
name="mysqldb",
command="--default-authentication-plugin=mysql_native_password",
command="--lc-messages-dir=/usr/share/mysql-8.0/english "
"--default-authentication-plugin=mysql_native_password",
environment={
"MYSQL_DATABASE": "mysql_dbname",
"MYSQL_USER": "mysqldb",
Expand Down

0 comments on commit 9bc83b3

Please sign in to comment.