mattes / migrate

Database migrations. CLI and Golang library.
Other
2.29k stars 326 forks source link

fix mysql test #330

Open alex-bogomolov opened 6 years ago

alex-bogomolov commented 6 years ago

Sometimes MySQL test would fail apparently because MySQL Server on Docker would start after the test tried to connect to it. This can be fixed with a delay in the test.

dhui commented 6 years ago

This has been addressed in: https://github.com/golang-migrate/migrate/commit/7c9a261dc0b4de2424d1fbd5e72429723dff83e3

The debugging prints in the fix were removed in: https://github.com/golang-migrate/migrate/commit/51ec421ad8538625a241357a2bf796d880403ef8