incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noa Resare (JIRA)" <>
Subject [jira] [Commented] (CLOUDSTACK-872) make unit tests depending on a mysql instance conditional
Date Sat, 12 Jan 2013 20:06:12 GMT


Noa Resare commented on CLOUDSTACK-872:

Looking a bit closer it turns out that the tests actually doesn't fail, they just print ugly
ugly stacktraces. Let's fix this with proper mocking
> make unit tests depending on a mysql instance conditional
> ---------------------------------------------------------
>                 Key: CLOUDSTACK-872
>                 URL:
>             Project: CloudStack
>          Issue Type: Improvement
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Noa Resare
>            Priority: Minor
> In some environments (such as normalized build environments) it is never going to be
feasible to have a mysql instance configured to be able to build without unit test failures.
> Currently a package build invokes maven in such a way that all the tests are run, and
many of the server tests fail with long stack traces basically telling us that
> Caused by: java.sql.SQLException: Access denied for user 'cloud'@'localhost' (using password:
> 	at com.mysql.jdbc.SQLError.createSQLException(
> Let's have some sort of configuration option that can be passed to maven so that only
standalone tests are run.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message