[ https://issues.apache.org/jira/browse/OOZIE-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16477323#comment-16477323 ]
Andras Piros edited comment on OOZIE-3226 at 5/16/18 12:30 PM: --------------------------------------------------------------- Thanks for the patch [~pbacsko]! I like the direction of the change, the root cause might be caused indeed by some {{static}} initializer block e.g. in {{derby}} code. Nit: please employ {{\@Override}} annotation and {{super}} calls in {{setUp()}} and {{tearDown()}}. was (Author: andras.piros): Thanks for the patch [~pbacsko]! I like the direction of the change, the root cause might be caused indeed by some {{static}} initializer block e.g. in {{derby}} code. Nit: please employ {{\@Override}} annotation and {{super}} calls in {{setUp()}} and {{tearDown}}. > Test case testOozieDBCLI() in oozie-tools fails with > junit.framework.AssertionFailedError > ----------------------------------------------------------------------------------------- > > Key: OOZIE-3226 > URL: https://issues.apache.org/jira/browse/OOZIE-3226 > Project: Oozie > Issue Type: Sub-task > Components: tools > Environment: 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 > Reporter: Alisha Prabhu > Assignee: Peter Bacsko > Priority: Major > Attachments: OOZIE-3226-001.patch > > > Maven command used is : mvn -Dtest=TestOozieDBCLI test > The test case testOozieDBCLI() in oozie-tools fails in the presence of the > test case testServicesDestroy() > {code:java} > [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 > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)