You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2016/11/02 16:15:59 UTC

[jira] [Created] (LENS-1372) QueryRetryTest is flaky

Ted Yu created LENS-1372:
----------------------------

             Summary: QueryRetryTest is flaky
                 Key: LENS-1372
                 URL: https://issues.apache.org/jira/browse/LENS-1372
             Project: Apache Lens
          Issue Type: Test
            Reporter: Ted Yu
            Priority: Minor


From https://builds.apache.org/job/PreCommit-Lens-Build/1145/testReport/junit/org.apache.lens.server.query.retry/QueryRetryTest/testRestartWhileRetry/ :
{code}
java.lang.NullPointerException: null
	at org.apache.lens.server.query.retry.QueryRetryTest.testRestartWhileRetry(QueryRetryTest.java:201)
{code}
Here is related code:
{code}
    ctx = getQueryService().getQueryContext(handle);
    while (!ctx.getStatus().finished()) {
{code}
The test should handle the case where status is null.



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