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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • trunk
    • 4.1.0
    • tests
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: