Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-18251

Refactor testing of ignite-extensions

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • extensions
    • Docs Required, Release Notes Required

    Description

      Currently, TeamCity runs tests twice, because test classes are not specified. It leads to running of both suite classes and test classes, included to this test suites. For the ignite-cdc-ext you can see more details in IGNITE-18216.
      Arguments are listed below [1]:

      -pl modules/%DIR_EXTENSION% -am
      -Dmaven.test.failure.ignore=true
      -DfailIfNoTests=false
      -Dignite.version=%IGNITE_VERSION%
      

      Also, there are following problems:

      1. Timeouts of CDC Suite.
      2. Zookeeper Ip Finder and AOP has no running test on TC [2, 3].

      What should be done:

      1. Remove duplication of test runs . It can be done by modifying TC configuration, by changing maven-surefire-plugin settings on pom.xml or by removing of suite classes at all.
      2. Split IgniteCdcTestSuite class or remove it at all in order to run CDC tests in parallel.
      3. Make separate TC build configurations for corresponding CDC suite classes or set up 'Parallel tests' feature in case if suite class had been removed.
      4. To control abandoned tests profile check-test-suites from Ignite must be used (only, if suite classes has not removed).
      5. failIfNoTests should be set to 'true' in order to prevent situations when module was not tested.
      6. Fix modules without test runs, like Zookeeper Ip Finder and AOP.

      Links:

      1. https://ci2.ignite.apache.org/admin/editRunType.html?id=template:IgniteExtensions_Tests_RunExtensionTests&runnerId=RUNNER_141&cameFromUrl=%2Fadmin%2FeditBuildRunners.html%3Fid%3Dtemplate%253AIgniteExtensions_Tests_RunExtensionTests%26init%3D1&cameFromTitle=
      2. https://ci2.ignite.apache.org/buildConfiguration/IgniteExtensions_Tests_ZookeeperIpFinder?branch=&mode=builds#all-projects
      3. https://ci2.ignite.apache.org/buildConfiguration/IgniteExtensions_Tests_Aop?mode=builds#all-projects

      Attachments

        Issue Links

          Activity

            People

              shishkovilja Ilya Shishkov
              shishkovilja Ilya Shishkov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: