Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-1596

TestOozieMySqlDBCLI.testCreateMysql fails when tests are executed in a different order

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: 4.1.0
    • Component/s: tests
    • Labels:
      None

      Description

      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.

        Attachments

        1. OOZIE-1596.patch
          0.7 kB
          Robert Kanter

          Activity

            People

            • Assignee:
              rkanter Robert Kanter
              Reporter:
              rkanter Robert Kanter
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: