[ 
https://issues.apache.org/jira/browse/LENS-346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amareshwari Sriramadasu resolved LENS-346.
------------------------------------------
    Resolution: Duplicate

> Intermittent test failure in Server tests
> -----------------------------------------
>
>                 Key: LENS-346
>                 URL: https://issues.apache.org/jira/browse/LENS-346
>             Project: Apache Lens
>          Issue Type: Bug
>          Components: server
>            Reporter: Rajat Khandelwal
>
> unit-test group runs in parallel. I've observed that sometimes the server 
> stop is called before everything is done. Weirdly enough, that only affects 
> Result formatter tests. 
> {noformat}
> Remote hive server stopped!
> Tests run: 82, Failures: 1, Errors: 0, Skipped: 7, Time elapsed: 161.508 sec 
> <<< FAILURE! - in TestSuite
> testPersistentResultWithMaxSize(org.apache.lens.server.query.TestResultFormatting)
>   Time elapsed: 9.404 sec  <<< FAILURE!
> java.lang.NullPointerException: null
>       at 
> org.apache.lens.server.query.TestResultFormatting.testResultFormatter(TestResultFormatting.java:240)
>       at 
> org.apache.lens.server.query.TestResultFormatting.testPersistentResultWithMaxSize(TestResultFormatting.java:169)
> Results :
> Failed tests: 
>   
> TestResultFormatting.testPersistentResultWithMaxSize:169->testResultFormatter:240
>  NullPointer
> Tests run: 82, Failures: 1, Errors: 0, Skipped: 7
> {noformat}



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

Reply via email to