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)