|
|
@ -187,7 +187,7 @@ class ConventionsPluginTests {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
assertThat(runGradle(Collections.singletonMap("CI", "true"), "retryConfig", "--stacktrace").getOutput())
|
|
|
|
assertThat(runGradle(Collections.singletonMap("CI", "true"), "retryConfig", "--stacktrace").getOutput())
|
|
|
|
.contains("maxRetries: 3")
|
|
|
|
.contains("maxRetries: 3")
|
|
|
|
.contains("failOnPassedAfterRetry: true");
|
|
|
|
.contains("failOnPassedAfterRetry: false");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
@ -209,7 +209,7 @@ class ConventionsPluginTests {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
assertThat(runGradle(Collections.singletonMap("CI", "local"), "retryConfig", "--stacktrace").getOutput())
|
|
|
|
assertThat(runGradle(Collections.singletonMap("CI", "local"), "retryConfig", "--stacktrace").getOutput())
|
|
|
|
.contains("maxRetries: 0")
|
|
|
|
.contains("maxRetries: 0")
|
|
|
|
.contains("failOnPassedAfterRetry: true");
|
|
|
|
.contains("failOnPassedAfterRetry: false");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private BuildResult runGradle(String... args) {
|
|
|
|
private BuildResult runGradle(String... args) {
|
|
|
|