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 2017/03/23 03:34:41 UTC
[jira] [Updated] (LENS-1372) QueryRetryTest is flaky
[ https://issues.apache.org/jira/browse/LENS-1372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu updated LENS-1372:
-------------------------
Description:
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.
was:
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.
> QueryRetryTest is flaky
> -----------------------
>
> Key: LENS-1372
> URL: https://issues.apache.org/jira/browse/LENS-1372
> Project: Apache Lens
> Issue Type: Test
> Components: server, test
> Affects Versions: 2.7
> Reporter: Ted Yu
> Assignee: Rajat Khandelwal
> Priority: Minor
> Fix For: 2.7
>
>
> 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.15#6346)