Skip to content

Commit 097d1e9

Browse files
authored
Fixup integrationTest to also retry (#2473)
Since the test suites are disjoint, they all need their own retry block, add retry for integrationTest
1 parent 2d4edaa commit 097d1e9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

build.gradle.kts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@ subprojects {
185185

186186
retry {
187187
failOnPassedAfterRetry.set(false)
188-
// If there are 5 failures, don't even attempt a retry
189188
maxFailures.set(5)
190189
maxRetries.set(2)
191190
}
@@ -227,6 +226,12 @@ subprojects {
227226
systemProperty("testDataPath", project.rootDir.toPath().resolve("testdata").toString())
228227

229228
mustRunAfter(tasks.test)
229+
230+
retry {
231+
failOnPassedAfterRetry.set(false)
232+
maxFailures.set(5)
233+
maxRetries.set(2)
234+
}
230235
}
231236

232237
project.plugins.withId("org.jetbrains.intellij") {

ui-tests/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ tasks.register<Test>("uiTestCore") {
6060
// uiTestCore needs its own version of this since it's not part of normal test tasks
6161
retry {
6262
failOnPassedAfterRetry.set(false)
63-
// If there are 5 failures, don't even attempt a retry
6463
maxFailures.set(5)
6564
maxRetries.set(2)
6665
}

0 commit comments

Comments
 (0)