I tried to build Rowz but the build often failed at random.
It seems ConfigValidationSpec overwrite the database password in the test. So I deleted it to fix. It works.
env DB_USERNAME=xxxx DB_PASSWORD=xxx sbt clean package-dist
java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES) (FutureTask.java:232)
The running test is in random order. So I think if ConfigValidationSpec run at first in test, all following tests throw SQLException.
If ConfigValidationSpec run at last in the test, all tests are success.
Let me know if this writing is not helpful.
Sorry for my poor English. Thanks.
remove overriding database password.