[
https://issues.apache.org/jira/browse/IGNITE-18251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ilya Shishkov updated IGNITE-18251:
-----------------------------------
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]:
{code}
-pl modules/%DIR_EXTENSION% -am
-Dmaven.test.failure.ignore=true
-DfailIfNoTests=false
-Dignite.version=%IGNITE_VERSION%
{code}
Also, there are following problems:
# Timeouts of CDC Suite.
# Zookeeper Ip Finder and AOP has no running test on TC [2, 3].
What should be done:
# Remove duplication of test runs . It can be done by modifying TC
configuration or by changing maven-surefire-plugin settings on pom.xml.
# Split {{IgniteCdcTestSuite}} class on remove it at all in order to run CDC
tests in parallel.
# Make separate TC build configurations for corresponding CDC suite classes or
set up 'Parallel tests' feature in case if suite class had been removed.
# To control abandoned tests profile {{check-test-suites}} from Ignite must be
used.
# {{failIfNoTests}} should be set to 'true' in order to prevent situations when
module was not tested.
# Fix modules without test runs, like Zookeeper Ip Finder and AOP.
Links:
#
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=
#
https://ci2.ignite.apache.org/buildConfiguration/IgniteExtensions_Tests_ZookeeperIpFinder?branch=&mode=builds#all-projects
#
https://ci2.ignite.apache.org/buildConfiguration/IgniteExtensions_Tests_Aop?mode=builds#all-projects
was:
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]:
{code}
-pl modules/%DIR_EXTENSION% -am
-Dmaven.test.failure.ignore=true
-DfailIfNoTests=false
-Dignite.version=%IGNITE_VERSION%
{code}
Also, there are following problems:
# Timeouts of CDC Suite.
# Zookeeper Ip Finder and AOP has no running test on TC [2, 3].
What should be done:
# Remove duplication of test runs . It can be done by modifying TC
configuration or by changing maven-surefire-plugin settings on pom.xml.
# Split {{IgniteCdcTestSuite}} class on two separate classes or run CDC tests
in parallel.
# Make two separate TC builds for corresponding CDC suite classes. To control
abandoned tests profile {{check-test-suites}} from Ignite must be used.
# {{failIfNoTests}} should be set to 'true' in order to prevent situations when
module was not tested.
# Fix Zookeeper Ip Finder and AOP modules testing.
Links:
#
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=
#
https://ci2.ignite.apache.org/buildConfiguration/IgniteExtensions_Tests_ZookeeperIpFinder?branch=&mode=builds#all-projects
#
https://ci2.ignite.apache.org/buildConfiguration/IgniteExtensions_Tests_Aop?mode=builds#all-projects
> Refactor testing of ignite-extensions
> -------------------------------------
>
> Key: IGNITE-18251
> URL: https://issues.apache.org/jira/browse/IGNITE-18251
> Project: Ignite
> Issue Type: Task
> Components: extensions
> Reporter: Ilya Shishkov
> Assignee: Ilya Shishkov
> Priority: Major
> Labels: ise, teamcity
>
> 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]:
> {code}
> -pl modules/%DIR_EXTENSION% -am
> -Dmaven.test.failure.ignore=true
> -DfailIfNoTests=false
> -Dignite.version=%IGNITE_VERSION%
> {code}
> Also, there are following problems:
> # Timeouts of CDC Suite.
> # Zookeeper Ip Finder and AOP has no running test on TC [2, 3].
> What should be done:
> # Remove duplication of test runs . It can be done by modifying TC
> configuration or by changing maven-surefire-plugin settings on pom.xml.
> # Split {{IgniteCdcTestSuite}} class on remove it at all in order to run CDC
> tests in parallel.
> # Make separate TC build configurations for corresponding CDC suite classes
> or set up 'Parallel tests' feature in case if suite class had been removed.
> # To control abandoned tests profile {{check-test-suites}} from Ignite must
> be used.
> # {{failIfNoTests}} should be set to 'true' in order to prevent situations
> when module was not tested.
> # Fix modules without test runs, like Zookeeper Ip Finder and AOP.
> Links:
> #
> 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=
> #
> https://ci2.ignite.apache.org/buildConfiguration/IgniteExtensions_Tests_ZookeeperIpFinder?branch=&mode=builds#all-projects
> #
> https://ci2.ignite.apache.org/buildConfiguration/IgniteExtensions_Tests_Aop?mode=builds#all-projects
--
This message was sent by Atlassian Jira
(v8.20.10#820010)