Noa Resare created CLOUDSTACK-872:
-------------------------------------
Summary: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira