[
https://issues.apache.org/jira/browse/OOZIE-1596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13806984#comment-13806984
]
Alejandro Abdelnur commented on OOZIE-1596:
-------------------------------------------
+1
> TestOozieMySqlDBCLI.testCreateMysql fails when tests are executed in a
> different order
> --------------------------------------------------------------------------------------
>
> Key: OOZIE-1596
> URL: https://issues.apache.org/jira/browse/OOZIE-1596
> Project: Oozie
> Issue Type: Bug
> Components: tests
> Affects Versions: trunk
> Reporter: Robert Kanter
> Assignee: Robert Kanter
> Priority: Minor
> Attachments: OOZIE-1596.patch
>
>
> {{TestOozieMySqlDBCLI.testCreateMysql}} will fail if the tests are executed
> in a different order.
> TestOozieMySqlDBCLI.testCreateMysql relies on the default setting of
> {{FakeConnection.CREATE}} (which is {{true}}), but if
> {{TestOozieMySqlDBCLI.testUpgradeMysql}} is executed first, it will change
> {{FakeConnection.CREATE}} to {{false}}, and
> {{TestOozieMySqlDBCLI.testCreateMysql}} will fail.
--
This message was sent by Atlassian JIRA
(v6.1#6144)