You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Rohini Palaniswamy (JIRA)" <ji...@apache.org> on 2014/01/03 19:51:56 UTC
[jira] [Commented] (OOZIE-1660) DB connection misconfig causes all
or most unit tests to fail
[ https://issues.apache.org/jira/browse/OOZIE-1660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13861766#comment-13861766 ]
Rohini Palaniswamy commented on OOZIE-1660:
-------------------------------------------
+1
> DB connection misconfig causes all or most unit tests to fail
> -------------------------------------------------------------
>
> Key: OOZIE-1660
> URL: https://issues.apache.org/jira/browse/OOZIE-1660
> Project: Oozie
> Issue Type: Bug
> Components: tests
> Affects Versions: trunk
> Reporter: Robert Kanter
> Assignee: Robert Kanter
> Priority: Blocker
> Attachments: OOZIE-1660.patch
>
>
> OOZIE-1655 changed oozie-default’s {{oozie.service.JPAService.create.db.schema}} to match oozie-site by setting it to {{false}}. This caused all or most unit tests to either fail with errors containing "{{Cannot create PoolableConnectionFactory}}" or to get stuck. For the unit tests, we need to set the property to true so that it will create the database schema because we don't create it manually like during a regular deployment. This was only working before because oozie-default and oozie-site were not in-sync.
> I'm not sure why test-patch in OOZIE-1655 didn't catch this or why I had to clone into a new folder to reproduce this locally either. Perhaps we're not deleting the database when doing a {{mvn clean}}?
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)