Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-3111 [Umbrella] Fix flaky tests in Oozie
  3. OOZIE-3226

[tools] TestOozieDBCLI#testOozieDBCLI() fails

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.1.0
    • tools
    • None
    • uname -a
      Linux pts00607-vm3 4.4.0-112-generic #135-Ubuntu SMP Fri Jan 19 11:48:46 UTC 2018 ppc64le ppc64le ppc64le GNU/Linux

    Description

      Maven command used is : mvn -Dtest=TestOozieDBCLI test

      The test case testOozieDBCLI() in oozie-tools fails in the presence of the test case testServicesDestroy()

      [INFO] Running org.apache.oozie.tools.TestOozieDBCLI
      [ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 33.539 s <<< FAILURE! - in org.apache.oozie.tools.TestOozieDBCLI
      [ERROR] testOozieDBCLI(org.apache.oozie.tools.TestOozieDBCLI)  Time elapsed: 4.289 s  <<< FAILURE!
      junit.framework.AssertionFailedError: expected:<0> but was:<1>
              at org.apache.oozie.tools.TestOozieDBCLI.testOozieDBCLI(TestOozieDBCLI.java:123)
      
      [INFO]
      [INFO] Results:
      [INFO]
      [ERROR] Failures:
      [ERROR]   TestOozieDBCLI.testOozieDBCLI:123 expected:<0> but was:<1>
      [INFO]
      [ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0
      

      Attachments

        1. OOZIE-3226-002.patch
          3 kB
          Peter Bacsko
        2. OOZIE-3226-001.patch
          3 kB
          Peter Bacsko

        Issue Links

          Activity

            People

              pbacsko Peter Bacsko
              alishap Alisha Prabhu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: