go-mysql-server
go-mysql-server copied to clipboard
test: optimize database connection test logic
-
Add a 1-second wait time before each test to ensure the database has started
-
Update error assertions to match more specific error messages
-
Adjust the test order: first test the case where the user does not exist, then test the case where the password is incorrect