mirror of
https://github.com/block/buzz.git
synced 2026-11-13 21:01:53 +00:00
state() built its pool from test_support::database_url(), but test_state_with_database_pool kept config.database_url from DATABASE_URL. When BUZZ_TEST_DATABASE_URL or TEST_DATABASE_URL is set, the two named different databases. A shared helper now sets both from the same URL and takes the pool options, so state() keeps sqlx's default acquire timeout and test_state_with_database_url keeps its 100 ms one. Co-authored-by: Larry <627498bd4bd1f281a16431e3c6cce3b5c25b6692798c78672298aefbf2f8f8b5@buzz.block.builderlab.xyz> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Logan Johnson <loganj@squareup.com>