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

Puneet Gupta updated LENS-1239:
-------------------------------
    Comment: was deleted

(was: Timeout is 3 secs now.  We can reduce it to 100 millis and move the 
statement  just before lensClient.getStatement().waitForQueryToComplete(handle, 
false) otherwise it will affect setDatabase and setConnectionParam also;


Then we can increase it back to 1.5 sec of so before "//Test 
waitForQueryToComplete with Retry on timeout".  This is required because 100 
millis may not be enough to get any reply from the server)

> Seeing org.apache.lens.server.query.* failures in some jenkins builds
> ---------------------------------------------------------------------
>
>                 Key: LENS-1239
>                 URL: https://issues.apache.org/jira/browse/LENS-1239
>             Project: Apache Lens
>          Issue Type: Bug
>          Components: server, test
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Amareshwari Sriramadasu
>             Fix For: 2.6
>
>         Attachments: LENS-1239.2.patch, LENS-1239.patch
>
>
> For example https://builds.apache.org/job/PreCommit-Lens-Build/739/ has 21 
> failed tests :
> Test Result (21 failures / +20)
> org.apache.lens.server.query.QueryAPIErrorResponseTest.testExplainRuntimeException
> org.apache.lens.server.query.QueryAPIErrorResponseTest.testExplainRuntimeException
> org.apache.lens.server.query.QueryAPIErrorResponseTest.testExplainWebappException
> org.apache.lens.server.query.QueryAPIErrorResponseTest.testExplainWebappException
> org.apache.lens.server.query.TestQueryEndEmailNotifier.testLaunchFailure
> org.apache.lens.server.query.TestQueryEndEmailNotifier.testLaunchFailure
> org.apache.lens.server.query.TestQueryService.testEstimateGauges
> org.apache.lens.server.query.TestQueryService.testEstimateGauges
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testExecuteWithTimeoutAndPreFetchAndServerPersistence
> org.apache.lens.server.query.TestQueryService.testHiveSemanticFailure
> org.apache.lens.server.query.TestQueryService.testHiveSemanticFailure
> org.apache.lens.server.query.TestQueryService.testLaunchFail
> org.apache.lens.server.query.TestQueryService.testLaunchFail
> org.apache.lens.server.query.TestQueryService.testLoadingMultipleDrivers
> org.apache.lens.server.query.TestQueryService.testMultipleLaunches
> org.apache.lens.server.query.TestQueryService.testMultipleLaunches
> org.apache.lens.server.query.TestQueryService.testPriorityOnMockQuery



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

Reply via email to