Sent from my iPhone
On 5 apr. 2013, at 23:21, "Alex Huang" <alex.hu...@citrix.com> wrote: >> That will be hard to do since the checkin test requires the DB to be present >> as >> it starts up the server and sets-up the databases. We'd have to turn it off >> for >> the build and turn it back on again for the bvt. Best if we avoid doing - >> DskipTests when building as a general good rule. > > I don't think -DskipTests is the problem. The problem is actually people who > are running the unit tests have db on their laptops so if they have unit > tests that require DB will run on their laptop but fails on Jenkins, which > doesn't have a db. We could make a small unit test that would fail if a database is detected. Would that help? > > --Alex