Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 2.6
    • server, test
    • None

    Description

      Test cases should keep lens.server.duplicate.query.allowed true by default.
      Because some of the test cases might be submitting the same query and expecting the queue length to increase.

      Attachments

        1. fix-test-case-1.patch
          21 kB
          Lavkesh Lahngir
        2. 0001-Test-case-fix.patch
          22 kB
          Lavkesh Lahngir
        3. 0001-Fixing-Text-case-for-duplicate-queries.patch
          23 kB
          Lavkesh Lahngir
        4. 0001-Changes-in-the-test-case.patch
          22 kB
          Lavkesh Lahngir

        Activity

          puneet884 Puneet Gupta made changes -
          Component/s test [ 12324429 ]
          puneet884 Puneet Gupta made changes -
          Issue Type Test [ 6 ] Bug [ 1 ]
          puneet884 Puneet Gupta made changes -
          Issue Type Bug [ 1 ] Test [ 6 ]
          archana.h Archana H made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          hudson Hudson added a comment -

          UNSTABLE: Integrated in Lens-Commit #1270 (See https://builds.apache.org/job/Lens-Commit/1270/)
          LENS-1143: Fix test cases to incorporate LENS-1019 changes (rajatgupta59: rev 68c5267f0868b77e24101fdd493d5d733c27871f)

          • lens-server/src/test/java/org/apache/lens/server/query/TestDuplicateQueries.java
          • lens-server/src/test/java/org/apache/lens/server/query/TestQueryServiceDuplicate.java
          • lens-dist/src/deb/control/ui-control/control
          hudson Hudson added a comment - UNSTABLE: Integrated in Lens-Commit #1270 (See https://builds.apache.org/job/Lens-Commit/1270/ ) LENS-1143 : Fix test cases to incorporate LENS-1019 changes (rajatgupta59: rev 68c5267f0868b77e24101fdd493d5d733c27871f) lens-server/src/test/java/org/apache/lens/server/query/TestDuplicateQueries.java lens-server/src/test/java/org/apache/lens/server/query/TestQueryServiceDuplicate.java lens-dist/src/deb/control/ui-control/control
          hudson Hudson added a comment -

          UNSTABLE: Integrated in Lens-Commit-Java8 #179 (See https://builds.apache.org/job/Lens-Commit-Java8/179/)
          LENS-1143: Fix test cases to incorporate LENS-1019 changes (rajatgupta59: rev 68c5267f0868b77e24101fdd493d5d733c27871f)

          • lens-server/src/test/java/org/apache/lens/server/query/TestDuplicateQueries.java
          • lens-server/src/test/java/org/apache/lens/server/query/TestQueryServiceDuplicate.java
          • lens-dist/src/deb/control/ui-control/control
          hudson Hudson added a comment - UNSTABLE: Integrated in Lens-Commit-Java8 #179 (See https://builds.apache.org/job/Lens-Commit-Java8/179/ ) LENS-1143 : Fix test cases to incorporate LENS-1019 changes (rajatgupta59: rev 68c5267f0868b77e24101fdd493d5d733c27871f) lens-server/src/test/java/org/apache/lens/server/query/TestDuplicateQueries.java lens-server/src/test/java/org/apache/lens/server/query/TestQueryServiceDuplicate.java lens-dist/src/deb/control/ui-control/control
          prongs Rajat Khandelwal made changes -
          Resolution Fixed [ 1 ]
          Status Patch Available [ 10002 ] Resolved [ 5 ]

          Committed. Thanks Lavkesh Lahngir

          prongs Rajat Khandelwal added a comment - Committed. Thanks Lavkesh Lahngir
          hadoopqa Hadoop QA added a comment -

          Applied patch: fix-test-case-1.patch and ran command: mvn clean install -fae. Result: Success. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/594/

          hadoopqa Hadoop QA added a comment - Applied patch: fix-test-case-1.patch and ran command: mvn clean install -fae. Result: Success. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/594/
          hadoopqa Hadoop QA added a comment -

          Applied patch: fix-test-case-1.patch and ran command: mvn clean install -fae. Result: Failure. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/591/

          hadoopqa Hadoop QA added a comment - Applied patch: fix-test-case-1.patch and ran command: mvn clean install -fae. Result: Failure. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/591/
          hadoopqa Hadoop QA added a comment -

          Applied patch: fix-test-case-1.patch and ran command: mvn clean install -fae. Result: Failure. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/590/

          hadoopqa Hadoop QA added a comment - Applied patch: fix-test-case-1.patch and ran command: mvn clean install -fae. Result: Failure. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/590/
          hadoopqa Hadoop QA added a comment -

          Applied patch: fix-test-case-1.patch and ran command: mvn clean install -fae. Result: Failure. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/589/

          hadoopqa Hadoop QA added a comment - Applied patch: fix-test-case-1.patch and ran command: mvn clean install -fae. Result: Failure. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/589/
          lavkesh Lavkesh Lahngir made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          lavkesh Lavkesh Lahngir made changes -
          Attachment fix-test-case.patch [ 12809404 ]
          lavkesh Lavkesh Lahngir made changes -
          Attachment fix-test-case-1.patch [ 12809407 ]
          lavkesh Lavkesh Lahngir made changes -
          Attachment fix-test-case.patch [ 12809404 ]
          hadoopqa Hadoop QA made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          hadoopqa Hadoop QA added a comment -
          hadoopqa Hadoop QA added a comment - Patch does not apply. Build job: https://builds.apache.org/job/PreCommit-Lens-Build/588/
          lavkesh Lavkesh Lahngir made changes -
          Attachment 0001-Changes-in-the-test-case.patch [ 12809386 ]
          hadoopqa Hadoop QA added a comment -

          Applied patch: 0001-Test-case-fix.patch and ran command: mvn clean install -fae. Result: Failure. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/477/

          hadoopqa Hadoop QA added a comment - Applied patch: 0001-Test-case-fix.patch and ran command: mvn clean install -fae. Result: Failure. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/477/
          hadoopqa Hadoop QA added a comment -

          Applied patch: 0001-Test-case-fix.patch and ran command: mvn clean install -fae. Result: Failure. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/467/

          hadoopqa Hadoop QA added a comment - Applied patch: 0001-Test-case-fix.patch and ran command: mvn clean install -fae. Result: Failure. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/467/
          lavkesh Lavkesh Lahngir made changes -
          Status Reopened [ 4 ] Patch Available [ 10002 ]
          lavkesh Lavkesh Lahngir made changes -
          Attachment 0001-Test-case-fix.patch [ 12806344 ]
          lavkesh Lavkesh Lahngir made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]

          This patch is incomplete.

          lavkesh Lavkesh Lahngir added a comment - This patch is incomplete.
          hudson Hudson added a comment -

          UNSTABLE: Integrated in Lens-Commit-Java8 #162 (See https://builds.apache.org/job/Lens-Commit-Java8/162/)
          LENS-1143: Fix test cases to incorporate LENS-1019(Same session handle (rajatgupta59: rev 18999b9742920774fbb297d3600e9c8ba85a9e06)

          • lens-server/src/test/resources/lens-site.xml
          • lens-ml-lib/src/test/resources/lens-site.xml
          • lens-server/src/test/java/org/apache/lens/server/query/TestQueryService.java
          • lens-server/src/test/java/org/apache/lens/server/query/TestQueryServiceDuplicate.java
          hudson Hudson added a comment - UNSTABLE: Integrated in Lens-Commit-Java8 #162 (See https://builds.apache.org/job/Lens-Commit-Java8/162/ ) LENS-1143 : Fix test cases to incorporate LENS-1019 (Same session handle (rajatgupta59: rev 18999b9742920774fbb297d3600e9c8ba85a9e06) lens-server/src/test/resources/lens-site.xml lens-ml-lib/src/test/resources/lens-site.xml lens-server/src/test/java/org/apache/lens/server/query/TestQueryService.java lens-server/src/test/java/org/apache/lens/server/query/TestQueryServiceDuplicate.java
          hudson Hudson added a comment -

          FAILURE: Integrated in Lens-Commit #1250 (See https://builds.apache.org/job/Lens-Commit/1250/)
          LENS-1143: Fix test cases to incorporate LENS-1019(Same session handle (rajatgupta59: rev 18999b9742920774fbb297d3600e9c8ba85a9e06)

          • lens-server/src/test/resources/lens-site.xml
          • lens-server/src/test/java/org/apache/lens/server/query/TestQueryService.java
          • lens-ml-lib/src/test/resources/lens-site.xml
          • lens-server/src/test/java/org/apache/lens/server/query/TestQueryServiceDuplicate.java
          hudson Hudson added a comment - FAILURE: Integrated in Lens-Commit #1250 (See https://builds.apache.org/job/Lens-Commit/1250/ ) LENS-1143 : Fix test cases to incorporate LENS-1019 (Same session handle (rajatgupta59: rev 18999b9742920774fbb297d3600e9c8ba85a9e06) lens-server/src/test/resources/lens-site.xml lens-server/src/test/java/org/apache/lens/server/query/TestQueryService.java lens-ml-lib/src/test/resources/lens-site.xml lens-server/src/test/java/org/apache/lens/server/query/TestQueryServiceDuplicate.java
          prongs Rajat Khandelwal made changes -
          Resolution Fixed [ 1 ]
          Status Patch Available [ 10002 ] Resolved [ 5 ]

          Committed. Thanks Lavkesh Lahngir

          prongs Rajat Khandelwal added a comment - Committed. Thanks Lavkesh Lahngir
          prongs Rajat Khandelwal made changes -
          Fix Version/s 2.6 [ 12333846 ]
          hadoopqa Hadoop QA added a comment -

          Applied patch: 0001-Fixing-Text-case-for-duplicate-queries.patch and ran command: mvn clean install -fae. Result: Success. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/452/

          hadoopqa Hadoop QA added a comment - Applied patch: 0001-Fixing-Text-case-for-duplicate-queries.patch and ran command: mvn clean install -fae. Result: Success. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/452/
          lavkesh Lavkesh Lahngir made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          lavkesh Lavkesh Lahngir made changes -
          lavkesh Lavkesh Lahngir made changes -
          Field Original Value New Value
          Component/s server [ 12324431 ]
          lavkesh Lavkesh Lahngir created issue -

          People

            lavkesh Lavkesh Lahngir
            lavkesh Lavkesh Lahngir
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment