[ 
https://issues.apache.org/jira/browse/LENS-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14558355#comment-14558355
 ] 

Yash Sharma commented on LENS-579:
----------------------------------

We can find the root cause if we can explore the common code between the test 
cases.

> Intermittent test failures - Hard to replicate
> ----------------------------------------------
>
>                 Key: LENS-579
>                 URL: https://issues.apache.org/jira/browse/LENS-579
>             Project: Apache Lens
>          Issue Type: Bug
>            Reporter: Yash Sharma
>
> There are couple of test cases which just fail sometimes. Hard to reproduce 
> but appear intermittently.
> - TestCubeRewriter : LENS-573
> - TestRemoteHiveDriver : LENS-556
> - TestEventService :
> Tests run: 103, Failures: 2, Errors: 0, Skipped: 7, Time elapsed: 166.899 sec 
> <<< FAILURE! - in TestSuite
> testSesionHandleEvent(org.apache.lens.server.query.TestEventService)  Time 
> elapsed: 0.004 sec  <<< FAILURE!
> java.lang.AssertionError: expected [true] but found [false]
>       at org.testng.Assert.fail(Assert.java:94)
>       at org.testng.Assert.failNotEquals(Assert.java:494)
>       at org.testng.Assert.assertTrue(Assert.java:42)
>       at org.testng.Assert.assertTrue(Assert.java:52)
>       at 
> org.apache.lens.server.query.TestEventService.testSesionHandleEvent(TestEventService.java:379)
> testSessionExpiry(org.apache.lens.server.session.TestSessionExpiry)  Time 
> elapsed: 0.035 sec  <<< FAILURE!
> java.lang.AssertionError: expected [true] but found [false]
>       at org.testng.Assert.fail(Assert.java:94)
>       at org.testng.Assert.failNotEquals(Assert.java:494)
>       at org.testng.Assert.assertTrue(Assert.java:42)
>       at org.testng.Assert.assertTrue(Assert.java:52)
>       at 
> org.apache.lens.server.session.TestSessionExpiry.testSessionExpiry(TestSessionExpiry.java:67)
> Results :
> Failed tests: 
>   TestEventService.testSesionHandleEvent:379 expected [true] but found [false]
>   TestSessionExpiry.testSessionExpiry:67 expected [true] but found [false]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to