Visitar URL original
chore: add retries for build.sh for unit tests (#460) · googleapis/google-cloud-java@382c857 · GitHub
Skip to content

Commit 382c857

Browse files
authored
chore: add retries for build.sh for unit tests (#460)
* Update synth.py * add retries to build.sh for unit tests
1 parent da00c2a commit 382c857

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎java-storage-nio/.kokoro/build.sh‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ set +e
4747

4848
case ${JOB_TYPE} in
4949
test)
50-
mvn test -B -Dclirr.skip=true -Denforcer.skip=true
50+
retry_with_backoff 3 10 \
51+
mvn test -B -Dclirr.skip=true -Denforcer.skip=true
5152
RETURN_CODE=$?
5253
;;
5354
lint)

‎java-storage-nio/synth.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@
2020

2121
java.common_templates(excludes=[
2222
'README.md',
23+
'.kokoro/build.sh',
2324
])

0 commit comments

Comments
 (0)