[
https://issues.apache.org/jira/browse/CLOUDSTACK-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daan Hoogland closed CLOUDSTACK-872.
------------------------------------
Resolution: Won't Fix
> make unit tests depending on a mysql instance conditional
> ---------------------------------------------------------
>
> Key: CLOUDSTACK-872
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-872
> 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: YES)
> at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1074)
> Let's have some sort of configuration option that can be passed to maven so
> that only standalone tests are run.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)