Skip to content

Commit f1563db

Browse files
fix: Use datajoint/mysql image for testcontainers (has SSL configured)
The official mysql:8.0 image doesn't have SSL certificates configured, causing SSL tests to fail. The datajoint/mysql:8.0 image has SSL properly configured with certificates in /mysql_keys/. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent c416807 commit f1563db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def mysql_container():
114114
from testcontainers.mysql import MySqlContainer
115115

116116
container = MySqlContainer(
117-
image="mysql:8.0",
117+
image="datajoint/mysql:8.0", # Use datajoint image which has SSL configured
118118
username="root",
119119
password="password",
120120
dbname="test",

0 commit comments

Comments
 (0)