Uploaded image for project: 'Apache Lens'
  1. Apache Lens
  2. LENS-1372

QueryRetryTest is flaky

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.7
    • Fix Version/s: 2.8
    • Component/s: server, test
    • Labels:
      None

      Description

      From https://builds.apache.org/job/PreCommit-Lens-Build/1145/testReport/junit/org.apache.lens.server.query.retry/QueryRetryTest/testRestartWhileRetry/ :

      java.lang.NullPointerException: null
      	at org.apache.lens.server.query.retry.QueryRetryTest.testRestartWhileRetry(QueryRetryTest.java:201)
      

      Here is related code:

          ctx = getQueryService().getQueryContext(handle);
          while (!ctx.getStatus().finished()) {
      

      The test should handle the case where status is null.

        Attachments

          Activity

            People

            • Assignee:
              prongs Rajat Khandelwal
              Reporter:
              yuzhihong@gmail.com Ted Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: