Skip to content

ConfigValidationSpec overwrite the database password unexpectedly. #1

Open
wants to merge 1 commit into from

1 participant

@ksauzz
ksauzz commented May 24, 2011

Hi all,

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.

build command:
env DB_USERNAME=xxxx DB_PASSWORD=xxx sbt clean package-dist

Error message:
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.