Uploaded image for project: 'Apache Lens (Retired)'
  1. Apache Lens (Retired)
  2. LENS-368

TestResultFormatting.testPersistentResultWithMaxSize fails intermittently

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.1
    • server, test
    • None

    Description

      org.apache.lens.server.query.TestResultFormatting.testPersistentResultWithMaxSize fails intermittently.

      java.lang.NullPointerException: null
      	at org.apache.lens.server.query.TestResultFormatting.testResultFormatter(TestResultFormatting.java:247)
      	at org.apache.lens.server.query.TestResultFormatting.testPersistentResultWithMaxSize(TestResultFormatting.java:169)
      

      Here is one failure - https://builds.apache.org/job/Lens-Commit/org.apache.lens$lens-server/420/testReport/junit/org.apache.lens.server.query/TestResultFormatting/testPersistentResultWithMaxSize/

      Attachments

        1. LENS-368.patch
          1 kB
          Amareshwari Sriramadasu

        Issue Links

          Activity

            hudson Hudson added a comment -

            SUCCESS: Integrated in Lens-Commit #438 (See https://builds.apache.org/job/Lens-Commit/438/)
            LENS-368 TestResultFormatting.testPersistentResultWithMaxSize fails intermittently (Amareshwari via jdhok) (jaideep.dhok: rev 8c86c9b298afa455b22161bfcd0334ab2aab96c5)

            • lens-server/src/test/java/org/apache/lens/server/query/TestResultFormatting.java
            hudson Hudson added a comment - SUCCESS: Integrated in Lens-Commit #438 (See https://builds.apache.org/job/Lens-Commit/438/ ) LENS-368 TestResultFormatting.testPersistentResultWithMaxSize fails intermittently (Amareshwari via jdhok) (jaideep.dhok: rev 8c86c9b298afa455b22161bfcd0334ab2aab96c5) lens-server/src/test/java/org/apache/lens/server/query/TestResultFormatting.java
            jaideepdhok Jaideep Dhok added a comment -

            +1. Committing this as we are hitting this frequently in build.

            jaideepdhok Jaideep Dhok added a comment - +1. Committing this as we are hitting this frequently in build.

            mvn clean package -DskipTests passes.

            mvn clean test -Dtest=TestResultFormatting passes

            Not raising review request as the changes are minimal.

            amareshwari Amareshwari Sriramadasu added a comment - mvn clean package -DskipTests passes. mvn clean test -Dtest=TestResultFormatting passes Not raising review request as the changes are minimal.

            Skipping formatter validation when query context is null, which is the cause for NPE above.

            amareshwari Amareshwari Sriramadasu added a comment - Skipping formatter validation when query context is null, which is the cause for NPE above.

            People

              Unassigned Unassigned
              amareshwari Amareshwari Sriramadasu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: