Skip to content

Commit 96b76cc

Browse files
committed
refactor: use 127.0.0.1 instead of localhost for benchmark database host
1 parent f452bc6 commit 96b76cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmarks/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# Database configuration from environment variables
1717
DB_CONFIG = {
18-
'host': os.environ.get('TEST_DB_HOST', 'localhost'),
18+
'host': os.environ.get('TEST_DB_HOST', '127.0.0.1'),
1919
'port': int(os.environ.get('TEST_DB_PORT', '3306')),
2020
'user': os.environ.get('TEST_DB_USER', 'root'),
2121
'password': os.environ.get('TEST_DB_PASSWORD', ''),

0 commit comments

Comments
 (0)