You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Rajat Khandelwal (JIRA)" <ji...@apache.org> on 2015/02/24 10:09:04 UTC

[jira] [Created] (LENS-346) Intermittent test failure in Server tests

Rajat Khandelwal created LENS-346:
-------------------------------------

             Summary: 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)