Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.6
    • cube, test
    • None

    Description

      https://builds.apache.org/job/Lens-Commit/org.apache.lens$lens-cube/1156/testReport/org.apache.lens.cube.metadata/TestCubeMetastoreClient/ :

      The test is taking around 11 minutes.


      testAlterCube 1 min 39 sec Passed
      testAlterCubeFact 1 min 3 sec Passed
      testAlterDerivedCube 0.23 sec Passed
      testAlterDim 0.41 sec Passed
      testCaching 1 min 38 sec Passed
      testCube 50 sec Passed
      testCubeDim 2.8 sec Passed
      testCubeDimWithNonTimeParts 2.1 sec Passed
      testCubeDimWithThreeTimedParts 5.4 sec Passed
      testCubeDimWithTwoStorages 0.3 sec Passed
      testCubeDimWithWeight 0.56 sec Passed
      testCubeDimWithoutDumps 43 ms Passed
      testCubeFact 47 sec Passed
      testCubeFactWithParts 24 sec Passed
      testCubeFactWithPartsAndTimedParts 22 sec Passed
      testCubeFactWithThreeTimedParts 2 min 54 sec Passed
      testCubeFactWithTwoStorages 36 sec Passed
      testCubeFactWithTwoTimedParts 25 sec Passed
      testCubeFactWithWeight 26 sec Passed
      testDimension 0.42 sec Passed
      testStorage 0.11 sec Passed


      Attachments

        1. LENS-906.patch
          6 kB
          Amareshwari Sriramadasu

        Issue Links

          Activity

            Seeing the time for TestCubeMetastoreClient is more than 22 minutes - https://builds.apache.org/job/PreCommit-Lens-Build/372/testReport/org.apache.lens.cube.metadata/

            amareshwari Amareshwari Sriramadasu added a comment - Seeing the time for TestCubeMetastoreClient is more than 22 minutes - https://builds.apache.org/job/PreCommit-Lens-Build/372/testReport/org.apache.lens.cube.metadata/

            Main time consuming tests :

            • testAlterCube : about 8 minuts
            • testCaching : > 5 minutes
            • testCube : 5 minutes
            • testCubeFactWithThreeTimedParts : about 2 minutes

            I will spend some time to investigate why are the tests taking so much time.

            amareshwari Amareshwari Sriramadasu added a comment - Main time consuming tests : testAlterCube : about 8 minuts testCaching : > 5 minutes testCube : 5 minutes testCubeFactWithThreeTimedParts : about 2 minutes I will spend some time to investigate why are the tests taking so much time.

            Separated test with more measures and dimensions.

            Test time came down to 3 minutes from 22 minutes

            amareshwari Amareshwari Sriramadasu added a comment - Separated test with more measures and dimensions. Test time came down to 3 minutes from 22 minutes
            amareshwari Amareshwari Sriramadasu added a comment - Review request - https://reviews.apache.org/r/46693/
            hadoopqa Hadoop QA added a comment -

            Applied patch: LENS-906.patch and ran command: mvn clean install -fae. Result: Failure. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/386/

            hadoopqa Hadoop QA added a comment - Applied patch: LENS-906.patch and ran command: mvn clean install -fae. Result: Failure. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/386/
            hadoopqa Hadoop QA added a comment -

            Applied patch: LENS-906.patch and ran command: mvn clean install -fae. Result: Success. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/389/

            hadoopqa Hadoop QA added a comment - Applied patch: LENS-906.patch and ran command: mvn clean install -fae. Result: Success. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/389/

            Committed.

            amareshwari Amareshwari Sriramadasu added a comment - Committed.
            amareshwari Amareshwari Sriramadasu added a comment - Here are the latest test times - https://builds.apache.org/job/PreCommit-Lens-Build/389/testReport/org.apache.lens.cube.metadata/TestCubeMetastoreClient/ Total - 2 minutes 9 seconds
            hudson Hudson added a comment -

            SUCCESS: Integrated in Lens-Commit-Java8 #140 (See https://builds.apache.org/job/Lens-Commit-Java8/140/)
            LENS-906 : Reduce test time for TestCubeMetastoreClient (amareshwari: rev 6e11d780f8ede78745f5247d983c0f63f42fb41d)

            • lens-cube/src/test/java/org/apache/lens/cube/metadata/TestCubeMetastoreClient.java
            hudson Hudson added a comment - SUCCESS: Integrated in Lens-Commit-Java8 #140 (See https://builds.apache.org/job/Lens-Commit-Java8/140/ ) LENS-906 : Reduce test time for TestCubeMetastoreClient (amareshwari: rev 6e11d780f8ede78745f5247d983c0f63f42fb41d) lens-cube/src/test/java/org/apache/lens/cube/metadata/TestCubeMetastoreClient.java
            hudson Hudson added a comment -

            SUCCESS: Integrated in Lens-Commit #1228 (See https://builds.apache.org/job/Lens-Commit/1228/)
            LENS-906 : Reduce test time for TestCubeMetastoreClient (amareshwari: rev 6e11d780f8ede78745f5247d983c0f63f42fb41d)

            • lens-cube/src/test/java/org/apache/lens/cube/metadata/TestCubeMetastoreClient.java
            hudson Hudson added a comment - SUCCESS: Integrated in Lens-Commit #1228 (See https://builds.apache.org/job/Lens-Commit/1228/ ) LENS-906 : Reduce test time for TestCubeMetastoreClient (amareshwari: rev 6e11d780f8ede78745f5247d983c0f63f42fb41d) lens-cube/src/test/java/org/apache/lens/cube/metadata/TestCubeMetastoreClient.java

            People

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

              Dates

                Created:
                Updated:
                Resolved: