This is an automated email from the ASF dual-hosted git repository.
prashantkumar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git
The following commit(s) were added to refs/heads/master by this push:
new 0c900c8 Backward compatibility tests: add retries (#2978)
0c900c8 is described below
commit 0c900c808ef700c2c010138db413e279c745e258
Author: Nicolò Boschi <[email protected]>
AuthorDate: Fri Jan 7 22:42:50 2022 +0100
Backward compatibility tests: add retries (#2978)
---
tests/backward-compat/build.gradle | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/tests/backward-compat/build.gradle
b/tests/backward-compat/build.gradle
index 7efd677..c974d8f 100644
--- a/tests/backward-compat/build.gradle
+++ b/tests/backward-compat/build.gradle
@@ -20,6 +20,7 @@
plugins {
id 'groovy'
id 'com.adarshr.test-logger'
+ id 'org.gradle.test-retry'
}
subprojects {
@@ -29,6 +30,8 @@ subprojects {
apply plugin: 'groovy'
apply plugin: 'com.adarshr.test-logger'
+ apply plugin: 'org.gradle.test-retry'
+
dependencies {
testImplementation 'org.codehaus.groovy:groovy-all:2.4.15'
@@ -43,6 +46,10 @@ subprojects {
test {
dependsOn(":tests:docker-images:buildImages")
+ retry {
+ maxFailures = 10
+ maxRetries = 5
+ }
}
}