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

Puneet Gupta commented on LENS-1254:
------------------------------------

Found the problem  : Looks like this test case broke once we enabled streaming 
by default on lens-cli.  When the query qualifies for streaming, we are getting 
InMemory result but the test case is expecting Persistent result.  Will put up 
a patch .

Server Logs
{noformat}
3 Aug 2016 09:30:08 79ef2e8c-d171-4702-873b-6894902de9fa 
[4076352e-d360-4cd9-ab58-5c2c0e222b54 grizzly-http-server-5] INFO  
org.apache.lens.server.api.driver.PartiallyFetchedInMemoryResultSet - 
Pre-Fetched 1 rows of result and isComplteleyFetched = true and 
doNotPurgeUntilTimeMillis ={}
03
03 Aug 2016 09:30:08  [QueryPurger] INFO  
org.apache.lens.server.query.QueryExecutionServiceImpl - Server Resultset for 
79ef2e8c-d171-4702-873b-6894902de9fa is LensPersistentResult
03 Aug 2016 09:30:08  [QueryPurger] INFO  
org.apache.lens.server.query.QueryExecutionServiceImpl - Driver Resultset for 
79ef2e8c-d171-4702-873b-6894902de9fa is PartiallyFetchedInMemoryResultSet
{noformat}

> TestLensQueryCommands.showPersistentResultSet fails intermittently
> ------------------------------------------------------------------
>
>                 Key: LENS-1254
>                 URL: https://issues.apache.org/jira/browse/LENS-1254
>             Project: Apache Lens
>          Issue Type: Bug
>            Reporter: Puneet Gupta
>            Assignee: Puneet Gupta
>             Fix For: 2.7
>
>
> Exception
> {noformat}
> 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.cli.TestLensQueryCommands.downloadResult(TestLensQueryCommands.java:486)
>       at 
> org.apache.lens.cli.TestLensQueryCommands.showPersistentResultSet(TestLensQueryCommands.java:475)
> {noformat}
> Client Logs 
> {noformat}
> @@PERSISTENT_RESULT_TEST-------------
> @@ RESULT test_dim.id test_dim.name   
> Result available in memory, attaching here: 
> 1     first   
> 1 rows processed in (0) seconds.
> {noformat}



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

Reply via email to