This is an automated email from the ASF dual-hosted git repository.
mpochatkin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git
The following commit(s) were added to refs/heads/main by this push:
new d2c7072f74d IGNITE-27694 Fix all other tests suite (#7498)
d2c7072f74d is described below
commit d2c7072f74da697c0380c992913c96a2506dd55b
Author: Vadim Pakhnushev <[email protected]>
AuthorDate: Thu Jan 29 16:44:13 2026 +0300
IGNITE-27694 Fix all other tests suite (#7498)
---
.teamcity/test/template_types/GradleModule.kt | 4 +++-
.teamcity/test/template_types/OtherTestsModule.kt | 4 +---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.teamcity/test/template_types/GradleModule.kt
b/.teamcity/test/template_types/GradleModule.kt
index 4ad31d7a174..088fbe8f7ac 100644
--- a/.teamcity/test/template_types/GradleModule.kt
+++ b/.teamcity/test/template_types/GradleModule.kt
@@ -7,7 +7,9 @@ package test.template_types
data class GradleModule(val displayName: String, val moduleName: String, val
jvmArgs: String = "", val dependencies: List<String> = emptyList(), val
parallelTestsEnabled: Boolean = false) {
fun buildTask(taskName: String): String {
val dependencyTasks = dependencies.joinToString(" ")
- val mainTask = ":$moduleName:$taskName"
+ val mainTask = mainTask(taskName)
return if (dependencyTasks.isNotEmpty()) "$dependencyTasks $mainTask"
else mainTask
}
+
+ fun mainTask(taskName: String): String = ":$moduleName:$taskName"
}
diff --git a/.teamcity/test/template_types/OtherTestsModule.kt
b/.teamcity/test/template_types/OtherTestsModule.kt
index e8dbafa5d4a..31a54e831d0 100644
--- a/.teamcity/test/template_types/OtherTestsModule.kt
+++ b/.teamcity/test/template_types/OtherTestsModule.kt
@@ -1,8 +1,6 @@
package test.template_types
import jetbrains.buildServer.configs.kotlin.BuildType
-import
jetbrains.buildServer.configs.kotlin.failureConditions.BuildFailureOnText
-import jetbrains.buildServer.configs.kotlin.failureConditions.failOnText
import org.apache.ignite.teamcity.CustomBuildSteps.Companion.customGradle
import org.apache.ignite.teamcity.CustomBuildSteps.Companion.customScript
import org.apache.ignite.teamcity.Teamcity.Companion.getId
@@ -43,7 +41,7 @@ class OtherTestsModule(
id = "RunTests"
name = "Run tests"
tasks = configuration.testTask + " " +
- excludeModules.map { "-x " +
it.buildTask(configuration.testTask) }.joinToString(" ")
+ excludeModules.joinToString(" ") { "-x " +
it.mainTask(configuration.testTask) }
workingDir = "%VCSROOT__IGNITE3%"
gradleParams = "%env.GRADLE_OPTS%"
this.jvmArgs = """