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

Hudson commented on LENS-684:
-----------------------------

UNSTABLE: Integrated in Lens-Commit #869 (See 
[https://builds.apache.org/job/Lens-Commit/869/])
LENS-684 : Fix intermittent failure with assertion on phase1 rewritten query 
(amareshwari: rev c2a27c0c8a9c137fe85275fae03de3b52937bf16)
* 
lens-server/src/main/java/org/apache/lens/server/query/QueryExecutionServiceImpl.java
* lens-server/src/test/resources/lens-site.xml
* 
lens-server/src/test/java/org/apache/lens/server/LensAllApplicationJerseyTest.java
* 
lens-server/src/test/java/org/apache/lens/server/query/TestResultFormatting.java
* lens-server/src/test/java/org/apache/lens/server/query/TestQueryService.java


> Assertion on phase 1 rewritten query will fail intermittently
> -------------------------------------------------------------
>
>                 Key: LENS-684
>                 URL: https://issues.apache.org/jira/browse/LENS-684
>             Project: Apache Lens
>          Issue Type: Sub-task
>          Components: server, test
>            Reporter: Himanshu Gahlaut
>            Assignee: Rajat Khandelwal
>             Fix For: 2.3
>
>         Attachments: LENS-684.03.patch
>
>
> TestQueryService#testExecuteAsync:
> Below asserts will fail, if the query context is removed by QueryPurger 
> thread before the test running test case could retrieve it from allQueries 
> collection using queryService. Provided lens.server.max.finished.queries=0 in 
> lens-site.xml
> {code}
> QueryContext ctx =    
> queryService.getQueryContext(lensQuery.getQueryHandle());
> assertNotNull(ctx.getPhase1RewrittenQuery());
> assertEquals(ctx.getPhase1RewrittenQuery(), ctx.getUserQuery()); 
>    
> {code}
> These were added in LENS-24 Commit: 
> https://github.com/apache/incubator-lens/commit/689c9a99b112b21e9ecba9a8461cf9672b88ba2f



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

Reply via email to