go-mysql-server icon indicating copy to clipboard operation
go-mysql-server copied to clipboard

test: optimize database connection test logic

Open Johonsoy opened this issue 6 months ago • 0 comments

  • 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

Johonsoy avatar May 23 '25 15:05 Johonsoy