[ https://issues.apache.org/jira/browse/LENS-1172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15320629#comment-15320629 ]
Hudson commented on LENS-1172: ------------------------------ UNSTABLE: Integrated in Lens-Commit #1264 (See [https://builds.apache.org/job/Lens-Commit/1264/]) LENS-1172: TestQueryServiceDuplicate failing in tearDown (rajatgupta59: rev 0b51f1e3a0e83bd92ab743d887cdcfe047447d51) * lens-server/src/test/java/org/apache/lens/server/query/TestQueryServiceDuplicate.java > TestQueryServiceDuplicate failing in tearDown > --------------------------------------------- > > Key: LENS-1172 > URL: https://issues.apache.org/jira/browse/LENS-1172 > Project: Apache Lens > Issue Type: Improvement > Reporter: Rajat Khandelwal > Assignee: Rajat Khandelwal > Fix For: 2.6 > > Attachments: LENS-1172.01.patch, LENS-1172.02.patch, > LENS-1172.03.patch, LENS-1172.04.patch > > > The test class has an AfterMethod tearDown method, which drops a table and > closes a session. But the session and the table don't get created until the > test method of this class is run. Furthermore, this test depends on other > test groups. So if any of the tests of those groups fail, the tests of this > class won't be run. But the tearDown will still be run since setUp was run > too. > Proposed fix is to drop the table and close the session in the test method > itself. -- This message was sent by Atlassian JIRA (v6.3.4#6332)