[ 
https://issues.apache.org/jira/browse/IGNITE-28845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitry Werner updated IGNITE-28845:
-----------------------------------
    Labels: MakeTeamcityGreenAgain ise  (was: ise)

> Fix broken tests in DeploymentTest
> ----------------------------------
>
>                 Key: IGNITE-28845
>                 URL: https://issues.apache.org/jira/browse/IGNITE-28845
>             Project: Ignite
>          Issue Type: Test
>            Reporter: Dmitry Werner
>            Assignee: Dmitry Werner
>            Priority: Major
>              Labels: MakeTeamcityGreenAgain, ise
>
> On the master branch, the following tests are failing with a 100% failure 
> rate:
>  - Apache.Ignite.Core.Tests.DeploymentTest.TestCustomDeployment
>  - 
> Apache.Ignite.Core.Tests.DeploymentTest.TestLibsDirectoryInAppPathDeployment
>  - Apache.Ignite.Core.Tests.DeploymentTest.TestNuGetDeployment
> Root Cause:
> The tests deploy binaries to a custom folder and start a second Ignite node 
> using a Spring XML configuration (compute-grid2.xml).
> However, the DeployTo method filters the JARs to copy based on a hardcoded 
> list:
> {code:java}
> var jarNames = new[] {@"\ignite-core-", @"\cache-api-1.0.0.jar", 
> @"\modules\spring\"};{code}
> This filter misses ignite-spring-*.jar, which contains 
> IgniteSpringHelperImpl. As a result, the second node crashes immediately upon 
> startup with ClassNotFoundException: 
> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl, causing the 
> topology wait to timeout.
> Solution:
> Update the jarNames array in DeploymentTest.DeployTo to include the Spring 
> module JAR:
> {code:java}
> var jarNames = new[] {@"\ignite-core-", @"\cache-api-1.0.0.jar", 
> @"\modules\spring\", @"\ignite-spring-"}; {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to